(function webpackUniversalModuleDefinition(root, factory) {
	if(typeof exports === 'object' && typeof module === 'object')
		module.exports = factory();
	else if(typeof define === 'function' && define.amd)
		define([], factory);
	else if(typeof exports === 'object')
		exports["libs-quality-manage"] = factory();
	else
		root["libs-quality-manage"] = factory();
})((typeof self !== 'undefined' ? self : this), function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ 		}
/******/ 	};
/******/
/******/ 	// define __esModule on exports
/******/ 	__webpack_require__.r = function(exports) {
/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 		}
/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
/******/ 	};
/******/
/******/ 	// create a fake namespace object
/******/ 	// mode & 1: value is a module id, require it
/******/ 	// mode & 2: merge all properties of value into the ns
/******/ 	// mode & 4: return value when already ns object
/******/ 	// mode & 8|1: behave like require
/******/ 	__webpack_require__.t = function(value, mode) {
/******/ 		if(mode & 1) value = __webpack_require__(value);
/******/ 		if(mode & 8) return value;
/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ 		var ns = Object.create(null);
/******/ 		__webpack_require__.r(ns);
/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ 		return ns;
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = "fb15");
/******/ })
/************************************************************************/
/******/ ({

/***/ "1299":
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin

/***/ }),

/***/ "204b":
/***/ (function(module, exports) {

module.exports = require("whatwg-fetch");

/***/ }),

/***/ "4e72":
/***/ (function(module, exports) {

module.exports = require("ant-design-vue");

/***/ }),

/***/ "56b9":
/***/ (function(module, exports) {

module.exports = require("libs-common-basics");

/***/ }),

/***/ "5880":
/***/ (function(module, exports) {

module.exports = require("vuex");

/***/ }),

/***/ "5bed":
/***/ (function(module, exports) {

module.exports = require("isomorphic-fetch");

/***/ }),

/***/ "63a0":
/***/ (function(module) {

module.exports = JSON.parse("{\"ruleOptions\":[\"规则1\",\"规则2\",\"规则3\",\"自定义\"],\"lotOptions\":[\"10001\",\"10002\",\"10003\"],\"unitOptions\":[\"kg\",\"l\"],\"standardOptions\":[{\"code\":1,\"label\":\"厂标\",\"color\":\"#87d068\"},{\"code\":2,\"label\":\"客标\",\"color\":\"#108ee9\"}],\"qcTypeOptions\":[{\"code\":1,\"label\":\"原材料\",\"color\":\"#2db7f5\"},{\"code\":2,\"label\":\"中间品\",\"color\":\"#87d068\"},{\"code\":3,\"label\":\"成品/半成品\",\"color\":\"#f50\"}],\"qcResultsOptions\":[{\"code\":1,\"label\":\"合格\",\"color\":\"#2db7f5\"},{\"code\":2,\"label\":\"不合格\",\"color\":\"#FF3366\"},{\"code\":3,\"label\":\"可用\",\"color\":\"#87d068\"},{\"code\":4,\"label\":\"不可用\",\"color\":\"#f50\"}],\"dataTypeOptions\":[{\"code\":0,\"label\":\"是\",\"color\":\"#2db7f5\"},{\"code\":1,\"label\":\"否\",\"color\":\"#87d068\"},{\"code\":2,\"label\":\"全部\",\"color\":\"\"}],\"dataSourceOptions\":[{\"code\":0,\"label\":\"系统\",\"color\":\"#2db7f5\"},{\"code\":1,\"label\":\"第三方\",\"color\":\"#87d068\"}],\"status\":{\"sample\":[{\"code\":0,\"label\":\"待确认\",\"color\":\"#87d068\"},{\"code\":1,\"label\":\"已完成\",\"color\":\"#108ee9\"}]},\"action\":{\"common\":{\"materialQueryAction\":\"InventoryCommon/queryRequest\"},\"sample\":{\"addAction\":\"QCSample/addRequest\",\"editAction\":\"QCSample/editRequest\",\"queryAction\":\"QCSample/queryRequest\",\"deleteAction\":\"QCSample/deleteRequest\",\"confirmAction\":\"QCSample/confirmRequest\"},\"task\":{\"addAction\":\"QCTask/addRequest\",\"editAction\":\"QCTask/editRequest\",\"queryAction\":\"QCTask/queryRequest\",\"deleteAction\":\"QCTask/deleteRequest\",\"confirmAction\":\"QCTask/confirmRequest\"}}}");

/***/ }),

/***/ "8bbf":
/***/ (function(module, exports) {

module.exports = require("vue");

/***/ }),

/***/ "be65":
/***/ (function(module, exports) {

module.exports = require("js-cookie");

/***/ }),

/***/ "dc65":
/***/ (function(module, exports) {

module.exports = require("current-script-polyfill");

/***/ }),

/***/ "fb15":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
// This file is imported into lib/wc client bundles.

if (typeof window !== 'undefined') {
  if (true) {
    __webpack_require__("dc65")
  }

  var i
  if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
    __webpack_require__.p = i[1] // eslint-disable-line
  }
}

// Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"657118bc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/Project.vue?vue&type=template&id=3ab45f52&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"content-container"},[_c('h3',{staticClass:"main-title"},[_c('a-row',[_c('a-col',{staticClass:"left",attrs:{"span":8}},[_vm._v("检验项目")])],1)],1),_c('div',{staticClass:"content"},[_c('div',{staticClass:"buttons"},[_c('a-row',{staticStyle:{"margin-bottom":"10px"}},[_c('a-col',{attrs:{"span":12}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleOpenModal('')}}},[_vm._v("新增")])],1),_c('a-col',{staticClass:"a-col-custom",attrs:{"span":12}},[_c('div',{staticClass:"lines-row"},[_c('a-input-search',{attrs:{"placeholder":"项目编码/项目名称","enterButton":""},on:{"search":_vm.handleSimpleSearch},model:{value:(_vm.searchName),callback:function ($$v) {_vm.searchName=$$v},expression:"searchName"}})],1),_c('div',{staticClass:"lines-row"},[_c('a',{staticClass:"queryText",on:{"click":_vm.advanceSearchShowClk}},[_vm._v("\n                            高级搜索\n                            "),_c('a-icon',{attrs:{"type":_vm.expand ? 'up' : 'down'}})],1)])])],1)],1),_c('div',{staticClass:"query-content",style:({ display: _vm.expand ? 'block' : 'none' })},[_c('a-form',{attrs:{"form":_vm.searchForm,"hideRequiredMark":""},on:{"submit":_vm.handleSearch}},[_c('div',{staticClass:"row-container"},[_c('a-form-item',{attrs:{"label":"项目编码"}},[_c('a-input',{model:{value:(_vm.searchForm.code),callback:function ($$v) {_vm.$set(_vm.searchForm, "code", $$v)},expression:"searchForm.code"}})],1),_c('a-form-item',{attrs:{"label":"项目名称"}},[_c('a-input',{model:{value:(_vm.searchForm.name),callback:function ($$v) {_vm.$set(_vm.searchForm, "name", $$v)},expression:"searchForm.name"}})],1),_c('a-form-item',{attrs:{"label":"是否数值"}},[_c('a-select',{model:{value:(_vm.searchForm.dataType),callback:function ($$v) {_vm.$set(_vm.searchForm, "dataType", $$v)},expression:"searchForm.dataType"}},_vm._l((_vm.dict.dataTypeOptions),function(option){return _c('a-select-option',{key:option.code,attrs:{"value":option.code}},[_vm._v(_vm._s(option.label))])}),1)],1)],1),_c('a-row',{attrs:{"gutter":16}},[_c('a-col',{style:({ textAlign: 'right' }),attrs:{"span":24}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSearch}},[_vm._v(_vm._s(_vm.$t("common.search")))]),_c('a-button',{style:({ marginLeft: '8px' }),on:{"click":_vm.handleReset}},[_vm._v(_vm._s(_vm.$t("common.reset")))])],1)],1)],1)],1),_c('a-table',{attrs:{"columns":_vm.columns,"dataSource":_vm.list,"rowKey":function (record) { return record.id; },"loading":_vm.loading,"pagination":false},scopedSlots:_vm._u([{key:"dataType",fn:function(text,record){return [_c('a-tag',{attrs:{"color":_vm.dict.dataTypeOptions[record.dataType].color}},[_vm._v(_vm._s(_vm.dict.dataTypeOptions[record.dataType].label))])]}},{key:"dataSource",fn:function(text,record){return [_c('a-tag',{attrs:{"color":_vm.dict.dataSourceOptions[record.dataSource].color}},[_vm._v(_vm._s(_vm.dict.dataSourceOptions[record.dataSource].label))])]}},{key:"action",fn:function(text, record){return [_c('span',[_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleOpenModal(record)}}},[_vm._v("编辑")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleDeleteRow(record)}}},[_vm._v("删除")])],1)]}}])}),_c('div',{staticStyle:{"margin-top":"10px","float":"right"}},[_c('LibsPagination',{attrs:{"pageNum":_vm.pageNum,"pageSize":_vm.pageSize,"total":_vm.total,"current":_vm.current},on:{"currentPageChange":_vm.currentPageChange,"pageSizeChange":_vm.pageSizeChange}})],1),_c('div',{staticStyle:{"clear":"both"}}),_c('add-edit-modal',{ref:"addEditModalRef"})],1)])}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/views/qc/Project.vue?vue&type=template&id=3ab45f52&

// EXTERNAL MODULE: ./src/assets/query.css
var query = __webpack_require__("1299");

// EXTERNAL MODULE: ./src/views/dict.json
var dict = __webpack_require__("63a0");

// EXTERNAL MODULE: external "vuex"
var external_vuex_ = __webpack_require__("5880");

// EXTERNAL MODULE: external "libs-common-basics"
var external_libs_common_basics_ = __webpack_require__("56b9");
var external_libs_common_basics_default = /*#__PURE__*/__webpack_require__.n(external_libs_common_basics_);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"657118bc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/components/project/AddEditModal.vue?vue&type=template&id=10ff2caa&
var AddEditModalvue_type_template_id_10ff2caa_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('a-modal',{attrs:{"title":_vm.modalTitle,"width":800,"okText":"确认","cancelText":"取消"},on:{"ok":_vm.onSubmit},model:{value:(_vm.modalShow),callback:function ($$v) {_vm.modalShow=$$v},expression:"modalShow"}},[_c('a-form-model',{attrs:{"model":_vm.form,"label-col":_vm.labelCol,"wrapper-col":_vm.wrapperCol}},[_c('a-row',[_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"项目编码"}},[_c('a-input',{model:{value:(_vm.form.code),callback:function ($$v) {_vm.$set(_vm.form, "code", $$v)},expression:"form.code"}})],1)],1),_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"项目名称"}},[_c('a-input',{model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, "name", $$v)},expression:"form.name"}})],1)],1)],1),_c('a-row',[_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"单位"}},[_c('a-select',{model:{value:(_vm.form.measureUnit),callback:function ($$v) {_vm.$set(_vm.form, "measureUnit", $$v)},expression:"form.measureUnit"}},_vm._l((_vm.dict.unitOptions),function(p){return _c('a-select-option',{key:p,attrs:{"value":p}},[_vm._v(_vm._s(p))])}),1)],1)],1),_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"是否数值"}},[_c('a-select',{attrs:{"default-value":_vm.form.dataType},model:{value:(_vm.form.dataType),callback:function ($$v) {_vm.$set(_vm.form, "dataType", $$v)},expression:"form.dataType"}},_vm._l((_vm.dict.dataTypeOptions),function(option){return _c('a-select-option',{key:option.code,attrs:{"value":option.code}},[_vm._v(_vm._s(option.label))])}),1)],1)],1)],1)],1)],1)],1)}
var AddEditModalvue_type_template_id_10ff2caa_staticRenderFns = []


// CONCATENATED MODULE: ./src/views/qc/components/project/AddEditModal.vue?vue&type=template&id=10ff2caa&

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/components/project/AddEditModal.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//


/* harmony default export */ var AddEditModalvue_type_script_lang_js_ = ({
    data() {
        return {
            modalShow: false,
            codeDisabled: false,
            modalTitle: "",
            action: "",
            labelCol: { span: 7 },
            wrapperCol: { span: 16 },
            dict: dict,
            form: {},
        };
    },
    methods: {
        // 打开模态框
        openModal(data) {
            this.form = !!data ? data : {};
            this.modalTitle = !data ? "新增检验项目" : "编辑检验项目";
            this.action = !data ? "QCItem/addProjectRequest" : "QCItem/editProjectRequest";
            this.modalShow = true;
        },
        // 确定提交表单
        onSubmit() {
            this.$store
                .dispatch(this.action, this.form)
                .then(res => {
                    if (parseInt(res.code) === 1) {
                        this.modalShow = false;
                        this.$message.success(this.$t("inventory.material.addSuccess"));
                        this.$parent.init();
                    } else {
                        this.$message.error(this.$t("inventory.material.addFail") + res.msg + "(" + res.code + ")");
                    }
                })
                .catch(err => {
                    console.log(err);
                });
        },
    },
});

// CONCATENATED MODULE: ./src/views/qc/components/project/AddEditModal.vue?vue&type=script&lang=js&
 /* harmony default export */ var project_AddEditModalvue_type_script_lang_js_ = (AddEditModalvue_type_script_lang_js_); 
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
/* globals __VUE_SSR_CONTEXT__ */

// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
// This module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle.

function normalizeComponent (
  scriptExports,
  render,
  staticRenderFns,
  functionalTemplate,
  injectStyles,
  scopeId,
  moduleIdentifier, /* server only */
  shadowMode /* vue-cli only */
) {
  // Vue.extend constructor export interop
  var options = typeof scriptExports === 'function'
    ? scriptExports.options
    : scriptExports

  // render functions
  if (render) {
    options.render = render
    options.staticRenderFns = staticRenderFns
    options._compiled = true
  }

  // functional template
  if (functionalTemplate) {
    options.functional = true
  }

  // scopedId
  if (scopeId) {
    options._scopeId = 'data-v-' + scopeId
  }

  var hook
  if (moduleIdentifier) { // server build
    hook = function (context) {
      // 2.3 injection
      context =
        context || // cached call
        (this.$vnode && this.$vnode.ssrContext) || // stateful
        (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
      // 2.2 with runInNewContext: true
      if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
        context = __VUE_SSR_CONTEXT__
      }
      // inject component styles
      if (injectStyles) {
        injectStyles.call(this, context)
      }
      // register component module identifier for async chunk inferrence
      if (context && context._registeredComponents) {
        context._registeredComponents.add(moduleIdentifier)
      }
    }
    // used by ssr in case component is cached and beforeCreate
    // never gets called
    options._ssrRegister = hook
  } else if (injectStyles) {
    hook = shadowMode
      ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
      : injectStyles
  }

  if (hook) {
    if (options.functional) {
      // for template-only hot-reload because in that case the render fn doesn't
      // go through the normalizer
      options._injectStyles = hook
      // register for functioal component in vue file
      var originalRender = options.render
      options.render = function renderWithStyleInjection (h, context) {
        hook.call(context)
        return originalRender(h, context)
      }
    } else {
      // inject component registration as beforeCreate hook
      var existing = options.beforeCreate
      options.beforeCreate = existing
        ? [].concat(existing, hook)
        : [hook]
    }
  }

  return {
    exports: scriptExports,
    options: options
  }
}

// CONCATENATED MODULE: ./src/views/qc/components/project/AddEditModal.vue





/* normalize component */

var component = normalizeComponent(
  project_AddEditModalvue_type_script_lang_js_,
  AddEditModalvue_type_template_id_10ff2caa_render,
  AddEditModalvue_type_template_id_10ff2caa_staticRenderFns,
  false,
  null,
  null,
  null
  
)

/* harmony default export */ var AddEditModal = (component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/Project.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//






const columns = [
    {
        title: "序号",
        dataIndex: "index",
        scopedSlots: { customRender: "index" },
        width: 90,
        align: "center",
    },
    {
        title: "项目编码",
        dataIndex: "code",
        width: 100,
    },
    {
        title: "项目名称",
        dataIndex: "name",
        width: 100,
    },
    {
        title: "单位",
        dataIndex: "measureUnit",
        width: 100,
    },
    {
        title: "是否数值",
        dataIndex: "dataType",
        width: 100,
        scopedSlots: { customRender: "dataType" },
    },
    {
        title: "来源",
        dataIndex: "dataSource",
        width: 100,
        scopedSlots: { customRender: "dataSource" },
    },
    {
        title: "操作",
        key: "action",
        fixed: "right",
        width: 120,
        scopedSlots: { customRender: "action" },
    },
];
const list = [
    {
        index: "1",
        code: "001",
        name: "水分",
        measureUnit: "kg",
        dataType: "0",
        dataSource: "0",
    },
];
/* harmony default export */ var Projectvue_type_script_lang_js_ = ({
    components: { AddEditModal: AddEditModal, LibsPagination: external_libs_common_basics_default.a.LibsPagination },
    data() {
        return {
            labelCol: { span: 9 },
            wrapperCol: { span: 15 },
            expand: false,
            dict: dict,
            columns,
            list,
            loading: false,
            searchForm: {},
            queryParams: {
                data: {},
                pageNum: parseInt(external_libs_common_basics_default.a.LibsPagination.props.pageNum.default),
                pageSize: parseInt(external_libs_common_basics_default.a.LibsPagination.props.pageSize.default),
            },
        };
    },
    methods: {
        //高级搜索开关
        advanceSearchShowClk() {
            this.expand = !this.expand;
        },
        // 打开模态框
        handleOpenModal(data) {
            this.$refs.addEditModalRef.openModal(data);
        },
        // 分页搜索
        handleTableChange(pagination) {
            const pager = { ...this.pagination };
            pager.current = pagination.current;
            this.pagination = pager;
            this.queryParams.pageNum = pagination.current;
            this.init();
        },
        //查询
        handleSearch(e) {
            this.queryParams.data = this.searchForm;
            this.queryParams.pageNum = 1;
            this.init();
        },
        //重置查询表单
        handleReset() {
            this.searchForm = {};
        },
        // 删除当前行数据
        handleDeleteRow(rowData) {
            this.$store
                .dispatch("QCItem/deleteProjectRequest", rowData)
                .then(res => {})
                .catch(err => {
                    console.log(err);
                });
        },
        init() {
            this.$store.dispatch("QCItem/pageQueryRequest", this.queryParams);
        },
    },
    computed: {
        // ...mapState({
        //     dataSource: state => state.Project.dataSource,
        //     // 分页监听
        //     pageNum: state => parseInt(state.Project.pager.pageNum),
        //     pageSize: state => parseInt(state.Project.pager.pageSize),
        //     total: state => parseInt(state.Project.pager.total),
        //     current: state => parseInt(state.Project.pager.current),
        // }),
    },
    mounted() {
        this.init();
    },
});

// CONCATENATED MODULE: ./src/views/qc/Project.vue?vue&type=script&lang=js&
 /* harmony default export */ var qc_Projectvue_type_script_lang_js_ = (Projectvue_type_script_lang_js_); 
// CONCATENATED MODULE: ./src/views/qc/Project.vue





/* normalize component */

var Project_component = normalizeComponent(
  qc_Projectvue_type_script_lang_js_,
  render,
  staticRenderFns,
  false,
  null,
  null,
  null
  
)

/* harmony default export */ var Project = (Project_component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"657118bc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/Standard.vue?vue&type=template&id=1daaa348&
var Standardvue_type_template_id_1daaa348_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"content-container"},[_c('h3',{staticClass:"main-title"},[_c('a-row',{attrs:{"align":"middle","type":"flex"}},[_c('a-col',{staticClass:"left",attrs:{"span":8}},[_vm._v("检验标准")])],1)],1),_c('div',{staticClass:"content"},[_c('div',{staticClass:"buttons"},[_c('a-row',{staticStyle:{"margin-bottom":"10px"}},[_c('a-col',{attrs:{"span":12}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleOpenModal('','add')}}},[_vm._v("新增")])],1),_c('a-col',{staticClass:"a-col-custom",attrs:{"span":12}},[_c('div',{staticClass:"lines-row"},[_c('a-input-search',{attrs:{"placeholder":"标准编码/标准名称","enterButton":""},on:{"search":_vm.init},model:{value:(_vm.searchForm.searchName),callback:function ($$v) {_vm.$set(_vm.searchForm, "searchName", $$v)},expression:"searchForm.searchName"}})],1),_c('div',{staticClass:"lines-row"},[_c('a',{staticClass:"queryText",on:{"click":_vm.advanceSearchShowClk}},[_vm._v("\n                            高级搜索\n                            "),_c('a-icon',{attrs:{"type":_vm.expand ? 'up' : 'down'}})],1)])])],1)],1),_c('div',{staticClass:"query-content",style:({ display: _vm.expand ? 'block' : 'none' })},[_c('a-form',{attrs:{"model":_vm.searchForm,"hideRequiredMark":""},on:{"submit":_vm.handleSearch}},[_c('div',{staticClass:"row-container"},[_c('a-form-item',{attrs:{"label":"标准编码"}},[_c('a-input',{model:{value:(_vm.searchForm.code),callback:function ($$v) {_vm.$set(_vm.searchForm, "code", $$v)},expression:"searchForm.code"}})],1),_c('a-form-item',{attrs:{"label":"标准名称"}},[_c('a-input',{model:{value:(_vm.searchForm.name),callback:function ($$v) {_vm.$set(_vm.searchForm, "name", $$v)},expression:"searchForm.name"}})],1),_c('a-form-item',{attrs:{"label":"标准类型"}},[_c('a-input',{model:{value:(_vm.searchForm.type),callback:function ($$v) {_vm.$set(_vm.searchForm, "type", $$v)},expression:"searchForm.type"}})],1),_c('a-form-item',{attrs:{"label":"项目编码"}},[_c('a-input',{model:{value:(_vm.searchForm.inspectItemCode),callback:function ($$v) {_vm.$set(_vm.searchForm, "inspectItemCode", $$v)},expression:"searchForm.inspectItemCode"}})],1),_c('a-form-item',{attrs:{"label":"项目名称"}},[_c('a-input',{model:{value:(_vm.searchForm.inspectItemName),callback:function ($$v) {_vm.$set(_vm.searchForm, "inspectItemName", $$v)},expression:"searchForm.inspectItemName"}})],1)],1),_c('a-row',{attrs:{"gutter":16}},[_c('a-col',{style:({ textAlign: 'right' }),attrs:{"span":24}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSearch}},[_vm._v(_vm._s(_vm.$t("common.search")))]),_c('a-button',{style:({ marginLeft: '8px' }),on:{"click":_vm.handleReset}},[_vm._v(_vm._s(_vm.$t("common.reset")))])],1)],1)],1)],1),_c('a-table',{attrs:{"columns":_vm.columns,"dataSource":_vm.list,"rowKey":function (record) { return record.id; },"loading":_vm.loading,"pagination":false},scopedSlots:_vm._u([{key:"type",fn:function(text, record){return [_c('a-tag',{attrs:{"color":_vm.dict.standardOptions[record.type - 1].color}},[_vm._v(_vm._s(_vm.dict.standardOptions[record.type - 1].label))])]}},{key:"dataSource",fn:function(text,record){return [_c('a-tag',{attrs:{"color":_vm.dict.dataSourceOptions[record.dataSource].color}},[_vm._v(_vm._s(_vm.dict.dataSourceOptions[record.dataSource].label))])]}},{key:"action",fn:function(text, record){return [_c('span',[_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleOpenModal(record,'view')}}},[_vm._v("详情")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleOpenModal(record,'edit')}}},[_vm._v("编辑")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleDeleteRow(record)}}},[_vm._v("删除")])],1)]}}])}),_c('div',{staticStyle:{"margin-top":"10px","float":"right"}},[_c('LibsPagination',{attrs:{"pageNum":_vm.pageNum,"pageSize":_vm.pageSize,"total":_vm.total,"current":_vm.current},on:{"currentPageChange":_vm.currentPageChange,"pageSizeChange":_vm.pageSizeChange}})],1),_c('div',{staticStyle:{"clear":"both"}})],1)])}
var Standardvue_type_template_id_1daaa348_staticRenderFns = []


// CONCATENATED MODULE: ./src/views/qc/Standard.vue?vue&type=template&id=1daaa348&

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/Standard.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//





const Standardvue_type_script_lang_js_columns = [
    {
        title: "序号",
        dataIndex: "index",
        scopedSlots: { customRender: "index" },
        width: 90,
        align: "center",
    },
    {
        title: "标准编码",
        dataIndex: "code",
        width: 150,
    },
    {
        title: "标准名称",
        dataIndex: "name",
        width: 150,
    },
    {
        title: "标准类型",
        dataIndex: "type",
        width: 150,
        scopedSlots: { customRender: "type" },
    },
    {
        title: "来源",
        dataIndex: "dataSource",
        width: 100,
        scopedSlots: { customRender: "dataSource" },
    },
    {
        title: "备注",
        dataIndex: "remark",
        width: 150,
    },
    {
        title: "操作",
        key: "action",
        width: 120,
        scopedSlots: { customRender: "action" },
    },
];
const Standardvue_type_script_lang_js_list = [
    {
        index: "1",
        code: "112064565",
        name: "化学试剂",
        type: "1",
        dataSource: "1",
        remark: "轻拿轻放",
    },
];
/* harmony default export */ var Standardvue_type_script_lang_js_ = ({
    data() {
        return {
            labelCol: { span: 9 },
            wrapperCol: { span: 15 },
            expand: false,
            dict: dict,
            columns: Standardvue_type_script_lang_js_columns,
            list: Standardvue_type_script_lang_js_list,
            loading: false,
            searchForm: {},
            queryParams: {
                data: {},
                pageNum: parseInt(external_libs_common_basics_default.a.LibsPagination.props.pageNum.default),
                pageSize: parseInt(external_libs_common_basics_default.a.LibsPagination.props.pageSize.default),
            },
        };
    },
    methods: {
        //高级搜索开关
        advanceSearchShowClk() {
            this.expand = !this.expand;
        },
        // 打开模态框
        handleOpenModal(data, flag) {
            // this.$refs.addEditModalRef.openModal(data, flag);
            this.$router.push({
                path: "standardDetail",
                query: {
                    data: data,
                    flag: flag,
                },
            });
        },
        //查询
        handleSearch(e) {
            this.queryParams.data = this.searchForm;
            this.queryParams.pageNum = 1;
            this.init();
        },
        //重置查询表单
        handleReset() {
            this.searchForm = {};
        },
        // 删除当前行数据
        handleDeleteRow(rowData) {
            this.$store
                .dispatch("Standard/deleteStandardRequest")
                .then(res => {})
                .catch(err => {
                    console.log(err);
                });
        },
        init() {
            this.$store.dispatch("Standard/pageQueryRequest", this.queryParams);
        },
    },
    computed: {
        // ...mapState({
        //     dataSource: state => state.Standard.dataSource,
        //     // 分页监听
        //     pageNum: state => parseInt(state.Standard.pager.pageNum),
        //     pageSize: state => parseInt(state.Standard.pager.pageSize),
        //     total: state => parseInt(state.Standard.pager.total),
        //     current: state => parseInt(state.Standard.pager.current),
        // }),
    },
    mounted() {
        this.init();
    },
});

// CONCATENATED MODULE: ./src/views/qc/Standard.vue?vue&type=script&lang=js&
 /* harmony default export */ var qc_Standardvue_type_script_lang_js_ = (Standardvue_type_script_lang_js_); 
// CONCATENATED MODULE: ./src/views/qc/Standard.vue





/* normalize component */

var Standard_component = normalizeComponent(
  qc_Standardvue_type_script_lang_js_,
  Standardvue_type_template_id_1daaa348_render,
  Standardvue_type_template_id_1daaa348_staticRenderFns,
  false,
  null,
  null,
  null
  
)

/* harmony default export */ var Standard = (Standard_component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"657118bc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/StandardDetail.vue?vue&type=template&id=4ae9bf58&
var StandardDetailvue_type_template_id_4ae9bf58_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"content-container"},[_c('h3',{staticClass:"main-title"},[_c('a-row',{attrs:{"align":"middle","type":"flex"}},[_c('a-col',{staticClass:"left",attrs:{"span":8}},[_c('a-breadcrumb',{attrs:{"routes":_vm.routes},scopedSlots:_vm._u([{key:"itemRender",fn:function(ref){
var route = ref.route;
var params = ref.params;
var routes = ref.routes;
var paths = ref.paths;
return [(routes.indexOf(route) === routes.length - 1)?_c('span',[_c('span',{domProps:{"innerHTML":_vm._s(route.breadcrumbName)}})]):_c('router-link',{attrs:{"to":paths.join('/')}},[_c('span',{domProps:{"innerHTML":_vm._s(route.breadcrumbName)}})])]}}])})],1)],1)],1),_c('div',{staticClass:"content"},[_c('div',{staticClass:"query-content"},[_c('a-form',{attrs:{"form":_vm.form,"hideRequiredMark":""}},[_c('div',{staticClass:"row-container"},[_c('a-form-item',{attrs:{"label":"标准规则"}},[_c('a-select',{attrs:{"placeholder":"选择规则"},model:{value:(_vm.form.codeRule),callback:function ($$v) {_vm.$set(_vm.form, "codeRule", $$v)},expression:"form.codeRule"}},_vm._l((_vm.dict.ruleOptions),function(p){return _c('a-select-option',{key:p,attrs:{"value":p}},[_vm._v(_vm._s(p))])}),1)],1),_c('a-form-item',{attrs:{"label":"标准编码"}},[_c('a-input',{model:{value:(_vm.form.code),callback:function ($$v) {_vm.$set(_vm.form, "code", $$v)},expression:"form.code"}},[_c('a-tooltip',{attrs:{"slot":"suffix","title":"规则：xxx-xxx-xxx"},slot:"suffix"},[_c('a-icon',{staticStyle:{"color":"rgba(0,0,0,.45)"},attrs:{"type":"info-circle"}})],1)],1)],1),_c('a-form-item',{attrs:{"label":"标准类型"}},[_c('a-select',{attrs:{"placeholder":"选择类型"},model:{value:(_vm.form.type),callback:function ($$v) {_vm.$set(_vm.form, "type", $$v)},expression:"form.type"}},_vm._l((_vm.dict.standardOptions),function(option){return _c('a-select-option',{key:option.code,attrs:{"value":option.code}},[_vm._v(_vm._s(option.label))])}),1)],1),_c('a-form-item',{attrs:{"label":"备注"}},[_c('a-input',{model:{value:(_vm.form.remark),callback:function ($$v) {_vm.$set(_vm.form, "remark", $$v)},expression:"form.remark"}})],1)],1)])],1),_c('div',[_c('span',{staticStyle:{"color":"green","font-weight":"bold"}},[_vm._v("检验标准明细：")]),_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.handleOpenModal('')}}},[_vm._v("新增")]),_c('a-table',{staticStyle:{"clear":"right","overflow":"auto","margin-top":"8px"},attrs:{"size":"small","columns":_vm.columns,"dataSource":_vm.list,"pagination":false,"rowKey":function (record) { return record.index; }},scopedSlots:_vm._u([{key:"action",fn:function(text, record){return [_c('span',[_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleOpenModal(record)}}},[_vm._v("编辑")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleDeleteRow(record)}}},[_vm._v("删除")])],1)]}}])})],1),_c('a-row',{staticStyle:{"margin-top":"20px"},attrs:{"gutter":24}},[_c('a-col',{style:({ textAlign: 'center' })},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.onSubmit}},[_vm._v("保存")]),_c('a-button',{style:({ marginLeft: '8px' }),on:{"click":_vm.handleBack}},[_vm._v("返回")])],1)],1)],1),_c('add-edit-modal',{ref:"addEditModalRef"})],1)}
var StandardDetailvue_type_template_id_4ae9bf58_staticRenderFns = []


// CONCATENATED MODULE: ./src/views/qc/StandardDetail.vue?vue&type=template&id=4ae9bf58&

// EXTERNAL MODULE: external "vue"
var external_vue_ = __webpack_require__("8bbf");
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);

// CONCATENATED MODULE: ./src/utils/Bus.js

/* harmony default export */ var Bus = (new external_vue_default.a());
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"657118bc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/components/standard/AddEditModal.vue?vue&type=template&id=1b095951&
var AddEditModalvue_type_template_id_1b095951_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"content-container"},[_c('a-modal',{attrs:{"title":_vm.modalTitle,"width":1000,"okText":"确认","cancelText":"取消","maskClosable":false},on:{"ok":_vm.onSubmit},model:{value:(_vm.modalShow),callback:function ($$v) {_vm.modalShow=$$v},expression:"modalShow"}},[_c('a-form-model',{attrs:{"model":_vm.form,"label-col":_vm.labelCol,"wrapper-col":_vm.wrapperCol}},[_c('a-row',[_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"项目编码"}},[_c('a-col',{attrs:{"span":"20"}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.form.inspectItemCode),callback:function ($$v) {_vm.$set(_vm.form, "inspectItemCode", $$v)},expression:"form.inspectItemCode"}})],1),_c('a-col',{attrs:{"span":"4"}},[_c('a-button',{attrs:{"type":"primary","block":"","icon":"search"},on:{"click":_vm.onSearch}})],1)],1)],1),_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"项目名称"}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.form.inspectItemName),callback:function ($$v) {_vm.$set(_vm.form, "inspectItemName", $$v)},expression:"form.inspectItemName"}})],1)],1)],1),_c('a-row',[_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"单位"}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.form.measureUnit),callback:function ($$v) {_vm.$set(_vm.form, "measureUnit", $$v)},expression:"form.measureUnit"}})],1)],1),_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"标准值"}},[_c('a-input',{model:{value:(_vm.form.standardValue),callback:function ($$v) {_vm.$set(_vm.form, "standardValue", $$v)},expression:"form.standardValue"}})],1)],1)],1),_c('a-row',[_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"最大值"}},[_c('a-input',{model:{value:(_vm.form.maximumValue ),callback:function ($$v) {_vm.$set(_vm.form, "maximumValue", $$v)},expression:"form.maximumValue "}})],1)],1),_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"最小值"}},[_c('a-input',{model:{value:(_vm.form.minimumValue),callback:function ($$v) {_vm.$set(_vm.form, "minimumValue", $$v)},expression:"form.minimumValue"}})],1)],1)],1),_c('a-row',[_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"备注"}},[_c('a-input',{model:{value:(_vm.form.remark),callback:function ($$v) {_vm.$set(_vm.form, "remark", $$v)},expression:"form.remark"}})],1)],1)],1)],1),_c('project-query-modal',{ref:"projectQueryModalRef"})],1)],1)}
var AddEditModalvue_type_template_id_1b095951_staticRenderFns = []


// CONCATENATED MODULE: ./src/views/qc/components/standard/AddEditModal.vue?vue&type=template&id=1b095951&

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"657118bc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/commons/query/ProjectQueryModal.vue?vue&type=template&id=294af276&
var ProjectQueryModalvue_type_template_id_294af276_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('a-modal',{attrs:{"title":_vm.modalTitle,"width":1000,"okText":"确定","cancelText":"取消"},on:{"ok":_vm.onSubmit},model:{value:(_vm.modalShow),callback:function ($$v) {_vm.modalShow=$$v},expression:"modalShow"}},[_c('div',{staticStyle:{"margin-top":"20px"}},[_c('div',{staticClass:"fuzzy-search-right"},[_c('a',{staticClass:"advanced-search-buttton",staticStyle:{"float":"right","margin-top":"6px"},on:{"click":_vm.advanceSearchShowClk}},[_vm._v("\n                    高级搜索\n                    "),_c('a-icon',{attrs:{"type":_vm.expand ? 'up' : 'down'}})],1),_c('a-input-search',{staticStyle:{"float":"right","width":"250px","margin-right":"10px"},attrs:{"placeholder":"搜索项目编码/项目名称","enterButton":""},on:{"search":_vm.handleSearch},model:{value:(_vm.searchForm.matchParam),callback:function ($$v) {_vm.$set(_vm.searchForm, "matchParam", $$v)},expression:"searchForm.matchParam"}})],1),_c('div',{staticClass:"advanced-search-input",style:({ display: _vm.expand ? 'block' : 'none' })},[_c('a-form-model',{attrs:{"model":_vm.searchForm,"label-col":_vm.labelCol,"wrapper-col":_vm.wrapperCol},on:{"submit":_vm.handleSearch}},[_c('a-row',{attrs:{"gutter":8}},[_c('a-col',{attrs:{"span":"6"}},[_c('a-form-model-item',{attrs:{"label":"项目编码"}},[_c('a-input',{model:{value:(_vm.searchForm.code),callback:function ($$v) {_vm.$set(_vm.searchForm, "code", $$v)},expression:"searchForm.code"}})],1)],1),_c('a-col',{attrs:{"span":"6"}},[_c('a-form-model-item',{attrs:{"label":"项目名称"}},[_c('a-input',{model:{value:(_vm.searchForm.name),callback:function ($$v) {_vm.$set(_vm.searchForm, "name", $$v)},expression:"searchForm.name"}})],1)],1),_c('a-col',{attrs:{"span":"6"}},[_c('a-form-model-item',{attrs:{"label":"是否数值"}},[_c('a-select',{model:{value:(_vm.searchForm.dataType),callback:function ($$v) {_vm.$set(_vm.searchForm, "dataType", $$v)},expression:"searchForm.dataType"}},_vm._l((_vm.dict.dataTypeOptions),function(option){return _c('a-select-option',{key:option.code,attrs:{"value":option.code}},[_vm._v(_vm._s(option.label))])}),1)],1)],1)],1),_c('a-row',{attrs:{"gutter":8}},[_c('a-col',{style:({ textAlign: 'right' }),attrs:{"span":24}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSearch}},[_vm._v(_vm._s(_vm.$t("common.search")))]),_c('a-button',{style:({ marginLeft: '8px' }),on:{"click":_vm.handleReset}},[_vm._v(_vm._s(_vm.$t("common.reset")))])],1)],1)],1)],1),_c('a-table',{staticStyle:{"margin-top":"10px"},attrs:{"columns":_vm.columns,"dataSource":_vm.list,"rowKey":function (record) { return record.id; },"loading":_vm.planTableLoading,"size":"middle","customRow":_vm.handleSelectTable,"rowClassName":_vm.changeRowClassName},on:{"change":_vm.handleTableChange},scopedSlots:_vm._u([{key:"dataType",fn:function(text,record){return [_c('a-tag',{attrs:{"color":_vm.dict.dataTypeOptions[record.dataType].color}},[_vm._v(_vm._s(_vm.dict.dataTypeOptions[record.dataType].label))])]}},{key:"dataSource",fn:function(text,record){return [_c('a-tag',{attrs:{"color":_vm.dict.dataSourceOptions[record.dataSource].color}},[_vm._v(_vm._s(_vm.dict.dataSourceOptions[record.dataSource].label))])]}}])})],1)])],1)}
var ProjectQueryModalvue_type_template_id_294af276_staticRenderFns = []


// CONCATENATED MODULE: ./src/commons/query/ProjectQueryModal.vue?vue&type=template&id=294af276&

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/commons/query/ProjectQueryModal.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//





const ProjectQueryModalvue_type_script_lang_js_columns = [
    {
        title: "序号",
        dataIndex: "index",
        width: 60,
    },
    {
        title: "项目编码",
        dataIndex: "code",
        width: 100,
    },
    {
        title: "项目名称",
        dataIndex: "name",
        width: 100,
    },
    {
        title: "单位",
        dataIndex: "measureUnit",
        width: 100,
    },
    {
        title: "是否数值",
        dataIndex: "dataType",
        width: 100,
        scopedSlots: { customRender: "dataType" },
    },
    {
        title: "来源",
        dataIndex: "dataSource",
        width: 100,
        scopedSlots: { customRender: "dataSource" },
    },
];
const ProjectQueryModalvue_type_script_lang_js_list = [
    {
        index: "1",
        code: "001",
        name: "水分",
        measureUnit: "kg",
        dataType: "0",
        dataSource: "0",
    },
    {
        index: "2",
        code: "002",
        name: "酸",
        measureUnit: "kg",
        dataType: "1",
        dataSource: "1",
    },
];
/* harmony default export */ var ProjectQueryModalvue_type_script_lang_js_ = ({
    data() {
        return {
            modalShow: false,
            modalTitle: "检验项目",
            labelCol: { span: 9 },
            wrapperCol: { span: 15 },
            expand: false,
            dict: dict,
            columns: ProjectQueryModalvue_type_script_lang_js_columns,
            list: ProjectQueryModalvue_type_script_lang_js_list,
            planTableLoading: false,
            activeIndex: -1,
            searchForm: {},
            queryListParams: {
                data: {},
                pageNum: parseInt(external_libs_common_basics_default.a.LibsPagination.props.pageNum.default),
                pageSize: parseInt(external_libs_common_basics_default.a.LibsPagination.props.pageSize.default),
            },
        };
    },
    methods: {
        //高级搜索开关
        advanceSearchShowClk() {
            this.expand = !this.expand;
        },
        //重置查询表单
        handleReset() {
            this.searchForm = {};
        },
        // 打开窗口
        openModal() {
            this.modalShow = true;
            // this.init();
        },
        // 确定提交表单
        onSubmit() {
            let item = ProjectQueryModalvue_type_script_lang_js_list[this.activeIndex];
            Bus.$emit("project", item);
            this.modalShow = false;
        },
        // 分页搜索
        handleTableChange(pagination) {
            const pager = { ...this.pagination };
            pager.current = pagination.current;
            this.pagination = pager;
            this.queryListParams.pageNum = pagination.current;
            this.init();
        },
        //查询
        handleSearch(e) {
            this.queryListParams.data = this.searchForm;
            this.queryListParams.pageNum = 1;
            this.init();
        },
        // 自定义点击行事件
        handleSelectTable(record, index) {
            let self = this;
            return {
                on: {
                    click: () => {
                        self.activeIndex === index ? (self.activeIndex = -1) : (self.activeIndex = index);
                        self.$forceUpdate();
                    },
                },
            };
        },
        changeRowClassName(record, index) {
            //record代表表格行的内容，index代表行索引
            //判断索引相等时添加行的高亮样式
            return index === this.activeIndex ? "clickTableRow" : "";
        },
        init() {
            this.$store.dispatch("Project/pageQueryRequest", this.queryListParams);
        },
    },
});

// CONCATENATED MODULE: ./src/commons/query/ProjectQueryModal.vue?vue&type=script&lang=js&
 /* harmony default export */ var query_ProjectQueryModalvue_type_script_lang_js_ = (ProjectQueryModalvue_type_script_lang_js_); 
// CONCATENATED MODULE: ./src/commons/query/ProjectQueryModal.vue





/* normalize component */

var ProjectQueryModal_component = normalizeComponent(
  query_ProjectQueryModalvue_type_script_lang_js_,
  ProjectQueryModalvue_type_template_id_294af276_render,
  ProjectQueryModalvue_type_template_id_294af276_staticRenderFns,
  false,
  null,
  null,
  null
  
)

/* harmony default export */ var ProjectQueryModal = (ProjectQueryModal_component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/components/standard/AddEditModal.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//





/* harmony default export */ var standard_AddEditModalvue_type_script_lang_js_ = ({
    components: { ProjectQueryModal: ProjectQueryModal },
    data() {
        return {
            modalShow: false,
            codeDisabled: false,
            modalTitle: "",
            labelCol: { span: 7 },
            wrapperCol: { span: 16 },
            dict: dict,
            form: {},
        };
    },
    methods: {
        openModal(data) {
            this.form = !!data ? data : {};
            this.modalTitle = !data ? "新增检验标准明细" : "编辑检验标准明细";
            this.codeDisabled = !!data;
            this.modalShow = true;
        },
        // 确定按钮操作
        onSubmit() {
            Bus.$emit("standard", this.form);
            this.modalShow = false;
        },
        // 搜索
        onSearch() {
            this.$refs.projectQueryModalRef.openModal();
        },
    },
    mounted() {
        let self = this;
        Bus.$on("project", function(project) {
            self.form = project;
            self.form.inspectItemCode = project.code;
            self.form.inspectItemName = project.name;
            // self.$forceUpdate();
        });
    },
});

// CONCATENATED MODULE: ./src/views/qc/components/standard/AddEditModal.vue?vue&type=script&lang=js&
 /* harmony default export */ var components_standard_AddEditModalvue_type_script_lang_js_ = (standard_AddEditModalvue_type_script_lang_js_); 
// CONCATENATED MODULE: ./src/views/qc/components/standard/AddEditModal.vue





/* normalize component */

var AddEditModal_component = normalizeComponent(
  components_standard_AddEditModalvue_type_script_lang_js_,
  AddEditModalvue_type_template_id_1b095951_render,
  AddEditModalvue_type_template_id_1b095951_staticRenderFns,
  false,
  null,
  null,
  null
  
)

/* harmony default export */ var standard_AddEditModal = (AddEditModal_component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/StandardDetail.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//




const routes = [
    {
        path: "../../main/qc/standard",
        breadcrumbName: "检验标准",
    },
    {
        path: "./standardDetail",
        breadcrumbName: "新增检验标准",
    },
];
const StandardDetailvue_type_script_lang_js_columns = [
    {
        title: "序号",
        dataIndex: "index",
        width: 90,
    },
    {
        title: "项目编码",
        dataIndex: "inspectItemCode",
        width: 100,
    },
    {
        title: "项目名称",
        dataIndex: "inspectItemName",
        width: 150,
    },
    {
        title: "标准值",
        dataIndex: "standardValue",
        width: 150,
    },
    {
        title: "最大值",
        dataIndex: "maximumValue",
        width: 100,
    },
    {
        title: "最小值",
        dataIndex: "minimumValue",
        width: 100,
    },
    {
        title: "单位",
        dataIndex: "measureUnit",
        width: 100,
    },
    {
        title: "备注",
        dataIndex: "remark",
        width: 100,
    },
    {
        title: "操作",
        key: "action",
        width: 120,
        scopedSlots: { customRender: "action" },
    },
];
const StandardDetailvue_type_script_lang_js_list = [];
/* harmony default export */ var StandardDetailvue_type_script_lang_js_ = ({
    components: { AddEditModal: standard_AddEditModal },
    data() {
        return {
            codeDisabled: false,
            title: "",
            action: "",
            labelCol: { span: 7 },
            wrapperCol: { span: 16 },
            dict: dict,
            columns: StandardDetailvue_type_script_lang_js_columns,
            list: StandardDetailvue_type_script_lang_js_list,
            routes,
            form: {},
        };
    },
    methods: {
        // 打开模态框
        handleOpenModal(data) {
            this.$refs.addEditModalRef.openModal(data);
        },
        // 确定提交表单
        onSubmit() {
            this.form.inspect = StandardDetailvue_type_script_lang_js_list;
            this.$store
                .dispatch(this.action, this.form)
                .then(res => {
                    if (parseInt(res.code) === 1) {
                        this.$message.success("成功");
                        this.$parent.init();
                    } else {
                        this.$message.error("失败" + res.msg + "(" + res.code + ")");
                    }
                })
                .catch(err => {
                    console.log(err);
                });
        },
        // 后退
        handleBack() {
            this.$router.go(-1);
        },
        // 删除行
        handleDeleteRow(record) {
            this.list = this.list.filter(item => {
                return item.index != record.index;
            });
        },
    },
    mounted() {
        let self = this;
        let flag = this.$route.query.flag;
        let data = this.$route.query.data;
        switch (flag) {
            case "add":
                this.title = "新增检验标准";
                this.action = "QCStandard/addStandardRequest";
                break;
            case "edit":
                this.title = "编辑检验标准";
                this.action = "QCStandard/editStandardRequest";
                this.form = data;
                break;
            case "view":
                this.title = "检验标准详情";
                this.form = data;
                break;
        }
        Bus.$on("standard", function(standard) {
            // debugger;
            self.list[0] = standard;
            self.$forceUpdate();
        });
    },
});

// CONCATENATED MODULE: ./src/views/qc/StandardDetail.vue?vue&type=script&lang=js&
 /* harmony default export */ var qc_StandardDetailvue_type_script_lang_js_ = (StandardDetailvue_type_script_lang_js_); 
// CONCATENATED MODULE: ./src/views/qc/StandardDetail.vue





/* normalize component */

var StandardDetail_component = normalizeComponent(
  qc_StandardDetailvue_type_script_lang_js_,
  StandardDetailvue_type_template_id_4ae9bf58_render,
  StandardDetailvue_type_template_id_4ae9bf58_staticRenderFns,
  false,
  null,
  null,
  null
  
)

/* harmony default export */ var StandardDetail = (StandardDetail_component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"657118bc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/Task.vue?vue&type=template&id=11637242&
var Taskvue_type_template_id_11637242_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"content-container"},[_c('h3',{staticClass:"main-title"},[_c('a-row',{attrs:{"align":"middle","type":"flex"}},[_c('a-col',{staticClass:"left",attrs:{"span":8}},[_vm._v("检验任务")])],1)],1),_c('div',{staticClass:"content"},[_c('div',{staticClass:"buttons"},[_c('a-row',{staticStyle:{"margin-bottom":"10px"}},[_c('a-col',{attrs:{"span":12}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleGoDetail('','add')}}},[_vm._v("新增")])],1),_c('a-col',{staticClass:"a-col-custom",attrs:{"span":12}},[_c('div',{staticClass:"lines-row"},[_c('a-input-search',{attrs:{"placeholder":"任务编码/物料编码/物料名称","enterButton":""},on:{"search":_vm.init},model:{value:(_vm.matchParam),callback:function ($$v) {_vm.matchParam=$$v},expression:"matchParam"}})],1),_c('div',{staticClass:"lines-row"},[_c('a',{staticClass:"queryText",on:{"click":_vm.advanceSearchShowClk}},[_vm._v("\n                            高级搜索\n                            "),_c('a-icon',{attrs:{"type":_vm.expand ? 'up' : 'down'}})],1)])])],1)],1),_c('div',{staticClass:"query-content",style:({ display: _vm.expand ? 'block' : 'none' })},[_c('a-form',{attrs:{"form":_vm.searchform,"hideRequiredMark":""},on:{"submit":_vm.handleSearch}},[_c('div',{staticClass:"row-container"},[_c('a-form-item',{attrs:{"label":"任务编码"}},[_c('a-input',{model:{value:(_vm.searchform.planCode),callback:function ($$v) {_vm.$set(_vm.searchform, "planCode", $$v)},expression:"searchform.planCode"}})],1),_c('a-form-item',{attrs:{"label":"物料编码"}},[_c('a-input',{model:{value:(_vm.searchform.productCode),callback:function ($$v) {_vm.$set(_vm.searchform, "productCode", $$v)},expression:"searchform.productCode"}})],1),_c('a-form-item',{attrs:{"label":"物料名称"}},[_c('a-input',{model:{value:(_vm.searchform.planCode),callback:function ($$v) {_vm.$set(_vm.searchform, "planCode", $$v)},expression:"searchform.planCode"}})],1),_c('a-form-item',{attrs:{"label":"项目编码"}},[_c('a-input',{model:{value:(_vm.searchform.planCode),callback:function ($$v) {_vm.$set(_vm.searchform, "planCode", $$v)},expression:"searchform.planCode"}})],1),_c('a-form-item',{attrs:{"label":"项目名称"}},[_c('a-input',{model:{value:(_vm.searchform.planCode),callback:function ($$v) {_vm.$set(_vm.searchform, "planCode", $$v)},expression:"searchform.planCode"}})],1),_c('a-form-item',{attrs:{"label":"检验结果"}},[_c('a-select',{model:{value:(_vm.searchform.code4),callback:function ($$v) {_vm.$set(_vm.searchform, "code4", $$v)},expression:"searchform.code4"}},_vm._l((_vm.dict.qcResultsOptions),function(p){return _c('a-select-option',{key:p,attrs:{"value":p}},[_vm._v(_vm._s(p))])}),1)],1),_c('a-form-item',{attrs:{"label":"检验类型"}},[_c('a-input',{model:{value:(_vm.searchform.productCode),callback:function ($$v) {_vm.$set(_vm.searchform, "productCode", $$v)},expression:"searchform.productCode"}})],1),_c('a-form-item',{attrs:{"label":"取样位置"}},[_c('a-input',{model:{value:(_vm.searchform.planCode),callback:function ($$v) {_vm.$set(_vm.searchform, "planCode", $$v)},expression:"searchform.planCode"}})],1),_c('a-form-item',{attrs:{"label":"状态"}},[_c('a-input',{model:{value:(_vm.searchform.planCode),callback:function ($$v) {_vm.$set(_vm.searchform, "planCode", $$v)},expression:"searchform.planCode"}})],1),_c('a-form-item',{attrs:{"label":"检验标准"}},[_c('a-select',{model:{value:(_vm.searchform.proPlanType),callback:function ($$v) {_vm.$set(_vm.searchform, "proPlanType", $$v)},expression:"searchform.proPlanType"}},[_c('a-select-option',{attrs:{"value":"order"}},[_vm._v("厂标")]),_c('a-select-option',{attrs:{"value":"order2"}},[_vm._v("客标")])],1)],1),_c('a-form-item',{attrs:{"label":"计划检验时间"}},[_c('a-range-picker',{on:{"change":_vm.onChange}})],1)],1),_c('a-divider',{staticClass:"search-divider",attrs:{"orientation":"right","dashed":""}},[_c('span',{on:{"click":_vm.showMoreItems}},[_vm._v("\n                        "+_vm._s(_vm.displayAll ? _vm.$t('monitor.alarm.stow') : _vm.$t('monitor.alarm.moreItem'))+"\n                        "),_c('a-icon',{style:({ fontSize: '12px', color: '#1890ff' }),attrs:{"type":_vm.displayAll ? 'up' : 'down'}})],1)]),_c('a-row',{attrs:{"gutter":16}},[_c('a-col',{style:({ textAlign: 'right' }),attrs:{"span":24}},[_c('a-button',{attrs:{"type":"primary","html-type":"submit"}},[_vm._v(_vm._s(_vm.$t("common.search")))]),_c('a-button',{style:({ marginLeft: '8px' }),on:{"click":_vm.handleReset}},[_vm._v(_vm._s(_vm.$t("common.reset")))])],1)],1)],1)],1),_c('a-table',{attrs:{"columns":_vm.columns,"dataSource":_vm.list,"rowKey":function (record) { return record.id; },"loading":_vm.loading,"size":"middle","pagination":false,"scroll":{ x: 1500 }},scopedSlots:_vm._u([{key:"index",fn:function(text, record, index){return [_c('span',[_vm._v(_vm._s(_vm.queryParams.pageSize * (_vm.queryParams.pageNum - 1) + index + 1))])]}},{key:"result",fn:function(text,record){return _vm._l((record.result),function(item,i){return _c('a-tag',{key:i,attrs:{"color":_vm.dict.qcResultsOptions[item].color}},[_vm._v(_vm._s(_vm.dict.qcResultsOptions[item].label))])})}},{key:"action",fn:function(text, record){return [_c('span',[_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleGoDetail(record,'detail')}}},[_vm._v("详情")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleGoDetail(record,'edit')}}},[_vm._v("编辑")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleSubmitRow(record)}}},[_vm._v("提交")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleGoDetail(record)}}},[_vm._v("确认")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleGoDetail(record)}}},[_vm._v("中止")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleDeleteRow(record)}}},[_vm._v("复检")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleDeleteRow(record)}}},[_vm._v("删除")])],1)]}}])}),_c('div',{staticStyle:{"margin-top":"10px","float":"right"}},[_c('LibsPagination',{attrs:{"pageNum":_vm.pageNum,"pageSize":_vm.pageSize,"total":_vm.total,"current":_vm.current},on:{"currentPageChange":_vm.currentPageChange,"pageSizeChange":_vm.pageSizeChange}})],1),_c('div',{staticStyle:{"clear":"both"}})],1)])}
var Taskvue_type_template_id_11637242_staticRenderFns = []


// CONCATENATED MODULE: ./src/views/qc/Task.vue?vue&type=template&id=11637242&

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/Task.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//




const Taskvue_type_script_lang_js_columns = [
    {
        title: "序号",
        dataIndex: "index",
        scopedSlots: { customRender: "index" },
        width: 90,
        align: "center",
    },
    {
        title: "任务编码",
        dataIndex: "number",
        width: 140,
    },
    {
        title: "物料编码",
        dataIndex: "materialCode",
        width: 150,
    },
    {
        title: "物料名称",
        dataIndex: "materialName",
        width: 150,
    },
    {
        title: "批号",
        dataIndex: "lotNo",
        width: 150,
    },
    {
        title: "物料类型",
        dataIndex: "code4",
        width: 150,
    },
    {
        title: "检验结果",
        dataIndex: "result",
        width: 220,
        scopedSlots: { customRender: "result" },
    },
    {
        title: "检验标准",
        dataIndex: "code6",
        width: 150,
    },
    {
        title: "取样位置",
        dataIndex: "code7",
        width: 150,
    },
    {
        title: "取样料量",
        dataIndex: "code8",
        width: 150,
    },
    {
        title: "计划检验时间",
        dataIndex: "code9",
        width: 150,
    },
    {
        title: "状态",
        dataIndex: "code10",
        width: 150,
        scopedSlots: { customRender: "code10" },
    },
    {
        title: "检验类型",
        dataIndex: "code11",
        width: 150,
        scopedSlots: { customRender: "code11" },
    },
    {
        title: "操作",
        key: "action",
        width: 350,
        scopedSlots: { customRender: "action" },
    },
];

/* harmony default export */ var Taskvue_type_script_lang_js_ = ({
    data() {
        return {
            labelCol: { span: 9 },
            wrapperCol: { span: 15 },
            dict: dict,
            columns: Taskvue_type_script_lang_js_columns,
            list: [
                {
                    index: 1,
                    id: "112064565925963",
                    code1: "001",
                    code2: "化学试剂",
                    code3: "0011",
                    code4: "MEG",
                    code5: [1, 3],
                    code6: "厂标",
                    code7: "陕A1111",
                    code8: "10kg",
                    code9: "2020-05-20",
                    code10: "已完成",
                    code11: [1],
                },
            ],
            expand: false,
            planTableLoading: false,
            searchName: "",
            searchform: {},
            queryParams: {
                data: {},
                pageNum: parseInt(external_libs_common_basics_default.a.LibsPagination.props.pageNum.default),
                pageSize: parseInt(external_libs_common_basics_default.a.LibsPagination.props.pageSize.default),
            },
        };
    },
    methods: {
        //高级搜索开关
        advanceSearchShowClk() {
            this.expand = !this.expand;
        },
        showMoreItems() {
            let self = this;
            self.displayAll = !self.displayAll;
        },
        // 跳转到详情页
        handleGoDetail(data, flag) {
            this.$router.push({
                path: "taskDetail",
                query: {
                    data: data,
                    flag: flag,
                },
            });
        },
        handleTableChange(pagination) {
            const pager = { ...this.pagination };
            pager.current = pagination.current;
            this.pagination = pager;
            this.queryParams.pageNum = pagination.current;
            this.init();
        },
        //简单查询
        handleSimpleSearch() {
            this.queryParams.data = {};
            if (this.searchForm.name != "") this.queryParams.data = { matchParam: this.searchForm.name };
            this.queryParams.pageNum = this.pagination.current;
            this.loading = true;
            this.init();
        },
        //高级查询
        handleSearch(e) {
            e.preventDefault();
            //简单搜索执行回车操作
            if (!this.expand) {
                this.handleSimpleSearch();
                return;
            }
            this.form.validateFields((error, values) => {
                this.searchForm = values;
                console.log(this.searchForm);
                this.queryParams.data = this.searchForm;
                this.queryParams.pageNum = this.pagination.current;
                this.loading = true;
                this.$store.dispatch("Widget/getWidgetList", this.queryParams);
            });
        },
        //重置查询表单
        handleReset() {
            // this.searchform.resetFields();
            this.searchform = {};
        },
        // 删除当前行数据
        handleDeleteRow(rowData) {
            let self = this;
            this.$confirm({
                title: "确认",
                content: "确定?",
                okText: "确定",
                cancelText: "取消",
                onOk() {
                    let params = { ids: [rowData.id] };
                    this.$store
                        .dispatch(dict.action.task.deleteAction, params)
                        .then(res => {
                            if (parseInt(res.code) === 1) {
                                this.$message.success("成功");
                                this.init();
                            }
                        })
                        .catch(err => {
                            this.$message.error("失败" + res.msg + "(" + res.code + ")");
                        });
                },
            });
        },
        init() {
            let self = this;
            this.$store
                .dispatch(dict.action.task.queryAction, this.queryParams)
                .then(res => {
                    if (parseInt(res.code) === 1) {
                        self.list = res.data.list;
                    }
                })
                .catch(err => {
                    console.log(err);
                });
        },
    },
    mounted() {
        this.init();
    },
});

// CONCATENATED MODULE: ./src/views/qc/Task.vue?vue&type=script&lang=js&
 /* harmony default export */ var qc_Taskvue_type_script_lang_js_ = (Taskvue_type_script_lang_js_); 
// CONCATENATED MODULE: ./src/views/qc/Task.vue





/* normalize component */

var Task_component = normalizeComponent(
  qc_Taskvue_type_script_lang_js_,
  Taskvue_type_template_id_11637242_render,
  Taskvue_type_template_id_11637242_staticRenderFns,
  false,
  null,
  null,
  null
  
)

/* harmony default export */ var Task = (Task_component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"657118bc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/TaskDetail.vue?vue&type=template&id=3af629ea&
var TaskDetailvue_type_template_id_3af629ea_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"content-container"},[_c('h3',{staticClass:"main-title"},[_c('a-row',[_c('a-col',{staticClass:"left",attrs:{"span":8}},[_c('a-breadcrumb',{attrs:{"routes":_vm.routes},scopedSlots:_vm._u([{key:"itemRender",fn:function(ref){
var route = ref.route;
var params = ref.params;
var routes = ref.routes;
var paths = ref.paths;
return [(routes.indexOf(route) === routes.length - 1)?_c('span',[_c('span',{domProps:{"innerHTML":_vm._s(route.breadcrumbName)}})]):_c('router-link',{attrs:{"to":paths.join('/')}},[_c('span',{domProps:{"innerHTML":_vm._s(route.breadcrumbName)}})])]}}])})],1)],1)],1),_c('div',{staticClass:"content"},[_c('div',{staticClass:"query-content"},[_c('a-form',{attrs:{"form":_vm.form,"hideRequiredMark":""},on:{"submit":_vm.handleSearch}},[_c('div',{staticClass:"row-container"},[_c('a-form-item',{attrs:{"label":"任务编码规则"}},[_c('a-select',{attrs:{"placeholder":"选择规则"},model:{value:(_vm.form.code1),callback:function ($$v) {_vm.$set(_vm.form, "code1", $$v)},expression:"form.code1"}},_vm._l((_vm.dict.ruleOptions),function(p){return _c('a-select-option',{key:p,attrs:{"value":p}},[_vm._v(_vm._s(p))])}),1)],1),_c('a-form-item',{attrs:{"label":"任务编码"}},[_c('a-input',{model:{value:(_vm.form.code2),callback:function ($$v) {_vm.$set(_vm.form, "code2", $$v)},expression:"form.code2"}},[_c('a-tooltip',{attrs:{"slot":"suffix","title":"规则：xxx-xxx-xxx"},slot:"suffix"},[_c('a-icon',{staticStyle:{"color":"rgba(0,0,0,.45)"},attrs:{"type":"info-circle"}})],1)],1)],1),_c('a-form-item',{attrs:{"label":"物料编码"}},[_c('a-col',{attrs:{"span":"20"}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.form.materialCode),callback:function ($$v) {_vm.$set(_vm.form, "materialCode", $$v)},expression:"form.materialCode"}})],1),_c('a-col',{attrs:{"span":"4"}},[_c('a-button',{attrs:{"type":"primary","block":"","icon":"search"},on:{"click":_vm.onSearch}})],1)],1),_c('a-form-item',{attrs:{"label":"物料名称"}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.form.materialName),callback:function ($$v) {_vm.$set(_vm.form, "materialName", $$v)},expression:"form.materialName"}})],1),_c('a-form-item',{attrs:{"label":"取样位置"}},[_c('a-input',{model:{value:(_vm.form.code9),callback:function ($$v) {_vm.$set(_vm.form, "code9", $$v)},expression:"form.code9"}})],1),_c('a-form-item',{attrs:{"label":"取样料量"}},[_c('a-input',{attrs:{"suffix":"kg"},model:{value:(_vm.form.code100),callback:function ($$v) {_vm.$set(_vm.form, "code100", $$v)},expression:"form.code100"}})],1),_c('a-form-item',{attrs:{"label":"计划检验时间"}},[_c('a-date-picker',{style:({
                                                'minWidth': '100%',
                                            }),attrs:{"type":"date","placeholder":"选择日期"},model:{value:(_vm.form.code11),callback:function ($$v) {_vm.$set(_vm.form, "code11", $$v)},expression:"form.code11"}})],1),_c('a-form-item',{attrs:{"label":"检验类型"}},[_c('a-select',{model:{value:(_vm.form.code13),callback:function ($$v) {_vm.$set(_vm.form, "code13", $$v)},expression:"form.code13"}},_vm._l((_vm.dict.qcTypeOptions),function(p){return _c('a-select-option',{key:p.code,attrs:{"value":p.code}},[_vm._v(_vm._s(p.label))])}),1)],1),_c('a-form-item',{attrs:{"label":"批号"}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.form.lotNo),callback:function ($$v) {_vm.$set(_vm.form, "lotNo", $$v)},expression:"form.lotNo"}})],1),_c('a-form-item',{attrs:{"label":"物料类型"}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.form.materialType),callback:function ($$v) {_vm.$set(_vm.form, "materialType", $$v)},expression:"form.materialType"}})],1),_c('a-form-item',{attrs:{"label":"检验结果"}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.form.result),callback:function ($$v) {_vm.$set(_vm.form, "result", $$v)},expression:"form.result"}})],1),_c('a-form-item',{attrs:{"label":"检验标准"}},[_c('a-select',{model:{value:(_vm.form.code8),callback:function ($$v) {_vm.$set(_vm.form, "code8", $$v)},expression:"form.code8"}},_vm._l((_vm.qcStandardOptions),function(p){return _c('a-select-option',{key:p.code,attrs:{"value":p.code}},[_vm._v(_vm._s(p.label))])}),1)],1)],1)])],1),_c('div',[_c('span',{staticStyle:{"color":"green","font-weight":"bold"}},[_vm._v("检验标准明细：")]),_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.handleOpenModal('standard')}}},[_vm._v("新增")]),_c('a-table',{staticStyle:{"clear":"right","overflow":"auto","margin-top":"8px"},attrs:{"size":"small","columns":_vm.columns,"dataSource":_vm.list,"pagination":false,"rowKey":function (record) { return record.index; }},scopedSlots:_vm._u([{key:"action",fn:function(text, record){return [_c('span',[_c('a',{attrs:{"href":"javascript:;"}},[_vm._v("启动")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleOpenModal('entry')}}},[_vm._v("录入")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"}},[_vm._v("提交")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleOpenModal('project')}}},[_vm._v("编辑")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleDeleteRow(record)}}},[_vm._v("删除")])],1)]}}])}),_c('a-row',{staticStyle:{"margin-top":"20px"},attrs:{"gutter":24}},[_c('a-col',{style:({ textAlign: 'center' })},[_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSubmit}},[_vm._v("保存")]),_c('a-button',{style:({ marginLeft: '8px' }),on:{"click":_vm.handleBack}},[_vm._v("返回")])],1)],1)],1)]),_c('material-query-modal',{ref:"materialQueryModalRef"}),_c('standard-add-edit-modal',{ref:"standardAddEditModalRef"}),_c('entry-add-edit-modal',{ref:"entryAddEditModalRef"})],1)}
var TaskDetailvue_type_template_id_3af629ea_staticRenderFns = []


// CONCATENATED MODULE: ./src/views/qc/TaskDetail.vue?vue&type=template&id=3af629ea&

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"657118bc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/commons/query/MaterialQueryModal.vue?vue&type=template&id=42426323&
var MaterialQueryModalvue_type_template_id_42426323_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('a-modal',{attrs:{"title":_vm.modalTitle,"width":1000,"okText":"确定","cancelText":"取消"},on:{"ok":_vm.onSubmit},model:{value:(_vm.modalShow),callback:function ($$v) {_vm.modalShow=$$v},expression:"modalShow"}},[_c('div',{staticStyle:{"margin-top":"20px"}},[_c('div',{staticClass:"fuzzy-search-right"},[_c('a',{staticClass:"advanced-search-buttton",staticStyle:{"float":"right","margin-top":"6px"},on:{"click":_vm.advanceSearchShowClk}},[_vm._v("\n                    高级搜索\n                    "),_c('a-icon',{attrs:{"type":_vm.expand ? 'up' : 'down'}})],1),_c('a-input-search',{staticStyle:{"float":"right","width":"250px","margin-right":"10px"},attrs:{"placeholder":"物料编码/物料名称/批号","enterButton":""},on:{"search":_vm.init},model:{value:(_vm.searchName),callback:function ($$v) {_vm.searchName=$$v},expression:"searchName"}})],1),_c('div',{staticClass:"advanced-search-input",style:({ display: _vm.expand ? 'block' : 'none' })},[_c('a-form-model',{attrs:{"model":_vm.searchform,"label-col":_vm.labelCol,"wrapper-col":_vm.wrapperCol},on:{"submit":_vm.init}},[_c('a-row',{attrs:{"gutter":8}},[_c('a-col',{attrs:{"span":"6"}},[_c('a-form-model-item',{attrs:{"label":"物料编码"}},[_c('a-input',{model:{value:(_vm.searchform.materialCode),callback:function ($$v) {_vm.$set(_vm.searchform, "materialCode", $$v)},expression:"searchform.materialCode"}})],1)],1),_c('a-col',{attrs:{"span":"6"}},[_c('a-form-model-item',{attrs:{"label":"物料名称"}},[_c('a-input',{model:{value:(_vm.searchform.materialName),callback:function ($$v) {_vm.$set(_vm.searchform, "materialName", $$v)},expression:"searchform.materialName"}})],1)],1),_c('a-col',{attrs:{"span":"6"}},[_c('a-form-model-item',{attrs:{"label":"批号"}},[_c('a-input',{model:{value:(_vm.searchform.lotNo),callback:function ($$v) {_vm.$set(_vm.searchform, "lotNo", $$v)},expression:"searchform.lotNo"}})],1)],1)],1),_c('a-row',{attrs:{"gutter":8}},[_c('a-col',{style:({ textAlign: 'right' }),attrs:{"span":24}},[_c('a-button',{attrs:{"type":"primary","html-type":"submit"}},[_vm._v(_vm._s(_vm.$t("common.search")))]),_c('a-button',{style:({ marginLeft: '8px' }),on:{"click":_vm.handleReset}},[_vm._v(_vm._s(_vm.$t("common.reset")))])],1)],1)],1)],1),_c('a-table',{staticStyle:{"margin-top":"10px"},attrs:{"columns":_vm.columns,"dataSource":_vm.list,"rowKey":function (record) { return record.materialId; },"loading":_vm.planTableLoading,"size":"middle","scroll":{ x: 1500 },"customRow":_vm.handleSelectTable,"rowClassName":_vm.changeRowClassName}})],1)])],1)}
var MaterialQueryModalvue_type_template_id_42426323_staticRenderFns = []


// CONCATENATED MODULE: ./src/commons/query/MaterialQueryModal.vue?vue&type=template&id=42426323&

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/commons/query/MaterialQueryModal.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//




// 物料列表
const MaterialQueryModalvue_type_script_lang_js_columns = [
    {
        title: "序号",
        dataIndex: "index",
        width: 60,
    },
    {
        title: "物料编码",
        dataIndex: "materialId",
        width: 140,
    },
    {
        title: "物料名称",
        dataIndex: "materialName",
        width: 150,
    },
    {
        title: "批号",
        dataIndex: "lotNo",
        width: 150,
    },
    {
        title: "物料类型",
        dataIndex: "materialType",
        width: 150,
    },
    {
        title: "包装规格",
        dataIndex: "packSize",
        width: 150,
    },
    {
        title: "包装数量",
        dataIndex: "packQuantity",
        width: 100,
    },
    {
        title: "料量",
        dataIndex: "totalQuantity",
        width: 150,
    },
    {
        title: "包装标识",
        dataIndex: "packageCode",
        width: 120,
    },
];
const MaterialQueryModalvue_type_script_lang_js_list = [
    {
        index: 1,
        materialId: "1",
        materialName: "PE-26",
        lotNo: "110",
        measureUnit: "kg",
        materialType: "类型",
        packSize: "10kg/桶",
        packQuantity: "10",
        totalQuantity: "100kg",
        code10: "设备标识",
    },
];
/* harmony default export */ var MaterialQueryModalvue_type_script_lang_js_ = ({
    data() {
        return {
            labelCol: { span: 7 },
            wrapperCol: { span: 16 },
            modalShow: false,
            codeDisabled: false,
            modalTitle: "物料选择",
            expand: false,
            planTableLoading: false,
            searchform: {},
            searchName: "",
            dict: dict,
            columns: MaterialQueryModalvue_type_script_lang_js_columns,
            list: MaterialQueryModalvue_type_script_lang_js_list,
            queryListParams: {
                data: {},
                pageNum: parseInt(external_libs_common_basics_default.a.LibsPagination.props.pageNum.default),
                pageSize: parseInt(external_libs_common_basics_default.a.LibsPagination.props.pageSize.default),
            },
        };
    },
    methods: {
        //重置查询表单
        handleReset() {
            this.searchform = {};
        },
        //高级搜索开关
        advanceSearchShowClk() {
            this.expand = !this.expand;
        },
        // 打开窗口
        openModal() {
            this.modalShow = true;
            this.init();
        },
        // 确定提交表单
        onSubmit() {
            let item = MaterialQueryModalvue_type_script_lang_js_list[this.activeIndex];
            Bus.$emit("material", item);
            this.modalShow = false;
            self.activeIndex = -1;
        },
        //查询
        handleSearch(e) {
            this.queryListParams.data = this.searchForm;
            this.queryListParams.pageNum = 1;
            this.init();
        },
        // 自定义点击行事件
        handleSelectTable(record, index) {
            let self = this;
            return {
                on: {
                    click: () => {
                        self.activeIndex === index ? (self.activeIndex = -1) : (self.activeIndex = index);
                        self.$forceUpdate();
                    },
                },
            };
        },

        changeRowClassName(record, index) {
            //record代表表格行的内容，index代表行索引
            //判断索引相等时添加行的高亮样式
            return index === this.activeIndex ? "clickTableRow" : "";
        },
        init() {
            this.$store
                .dispatch(dict.action.common.materialQueryAction, this.queryListParams)
                .then(res => {})
                .catch(err => {
                    console.log(err);
                });
        },
    },
});

// CONCATENATED MODULE: ./src/commons/query/MaterialQueryModal.vue?vue&type=script&lang=js&
 /* harmony default export */ var query_MaterialQueryModalvue_type_script_lang_js_ = (MaterialQueryModalvue_type_script_lang_js_); 
// CONCATENATED MODULE: ./src/commons/query/MaterialQueryModal.vue





/* normalize component */

var MaterialQueryModal_component = normalizeComponent(
  query_MaterialQueryModalvue_type_script_lang_js_,
  MaterialQueryModalvue_type_template_id_42426323_render,
  MaterialQueryModalvue_type_template_id_42426323_staticRenderFns,
  false,
  null,
  null,
  null
  
)

/* harmony default export */ var MaterialQueryModal = (MaterialQueryModal_component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"657118bc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/components/task/StandardAddEditModal.vue?vue&type=template&id=37b6d2a2&
var StandardAddEditModalvue_type_template_id_37b6d2a2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"content-container"},[_c('a-modal',{attrs:{"title":_vm.modalTitle,"width":1000,"okText":"确认","cancelText":"取消","maskClosable":false},on:{"ok":_vm.onSubmit},model:{value:(_vm.modalShow),callback:function ($$v) {_vm.modalShow=$$v},expression:"modalShow"}},[_c('a-form-model',{attrs:{"model":_vm.form,"label-col":_vm.labelCol,"wrapper-col":_vm.wrapperCol}},[_c('a-row',[_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"项目编码"}},[_c('a-col',{attrs:{"span":"20"}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.form.inspectItemCode),callback:function ($$v) {_vm.$set(_vm.form, "inspectItemCode", $$v)},expression:"form.inspectItemCode"}})],1),_c('a-col',{attrs:{"span":"4"}},[_c('a-button',{attrs:{"type":"primary","block":"","icon":"search"},on:{"click":_vm.onSearch}})],1)],1)],1),_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"项目名称"}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.form.inspectItemName),callback:function ($$v) {_vm.$set(_vm.form, "inspectItemName", $$v)},expression:"form.inspectItemName"}})],1)],1)],1),_c('a-row',[_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"单位"}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.form.measureUnit),callback:function ($$v) {_vm.$set(_vm.form, "measureUnit", $$v)},expression:"form.measureUnit"}})],1)],1),_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"标准值"}},[_c('a-input',{model:{value:(_vm.form.standardValue),callback:function ($$v) {_vm.$set(_vm.form, "standardValue", $$v)},expression:"form.standardValue"}})],1)],1)],1),_c('a-row',[_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{staticStyle:{"width":"100%"},attrs:{"label":"上下限"}},[_c('a-input',{directives:[{name:"decorator",rawName:"v-decorator",value:(['minimumValue', { rules: [{ required: true, message: 'Please input your note!' }] }]),expression:"['minimumValue', { rules: [{ required: true, message: 'Please input your note!' }] }]"}],staticStyle:{"width":"100px","text-align":"center"},attrs:{"placeholder":"最小值"}}),_c('a-input',{staticStyle:{"width":"30px","border-left":"0","pointer-events":"none","backgroundColor":"#fff"},attrs:{"placeholder":"~","disabled":""}}),_c('a-input',{directives:[{name:"decorator",rawName:"v-decorator",value:(['maximumValue', { rules: [{ required: true, message: 'Please input your note!' }] }]),expression:"['maximumValue', { rules: [{ required: true, message: 'Please input your note!' }] }]"}],staticStyle:{"width":"100px","text-align":"center","border-left":"0"},attrs:{"placeholder":"最大值"}})],1)],1),_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"检验人"}},[_c('a-input',{model:{value:(_vm.form.remark),callback:function ($$v) {_vm.$set(_vm.form, "remark", $$v)},expression:"form.remark"}})],1)],1)],1)],1),_c('project-query-modal',{ref:"projectQueryModalRef"})],1)],1)}
var StandardAddEditModalvue_type_template_id_37b6d2a2_staticRenderFns = []


// CONCATENATED MODULE: ./src/views/qc/components/task/StandardAddEditModal.vue?vue&type=template&id=37b6d2a2&

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/components/task/StandardAddEditModal.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//





/* harmony default export */ var StandardAddEditModalvue_type_script_lang_js_ = ({
    components: { ProjectQueryModal: ProjectQueryModal },
    data() {
        return {
            modalShow: false,
            codeDisabled: false,
            modalTitle: "",
            labelCol: { span: 7 },
            wrapperCol: { span: 16 },
            dict: dict,
            form: {},
        };
    },
    methods: {
        openModal(data) {
            this.form = !!data ? data : {};
            this.modalTitle = !data ? "新增检验任务" : "编辑检验任务";
            this.codeDisabled = !!data;
            this.modalShow = true;
        },
        // 确定按钮操作
        onSubmit() {
            Bus.$emit("standard", this.form);
            this.modalShow = false;
        },
        // 搜索
        onSearch() {
            this.$refs.projectQueryModalRef.openModal();
        },
    },
    mounted() {
        let self = this;
        Bus.$on("project", function(project) {
            self.form = project;
            self.form.inspectItemCode = project.code;
            self.form.inspectItemName = project.name;
            // self.$forceUpdate();
        });
    },
});

// CONCATENATED MODULE: ./src/views/qc/components/task/StandardAddEditModal.vue?vue&type=script&lang=js&
 /* harmony default export */ var task_StandardAddEditModalvue_type_script_lang_js_ = (StandardAddEditModalvue_type_script_lang_js_); 
// CONCATENATED MODULE: ./src/views/qc/components/task/StandardAddEditModal.vue





/* normalize component */

var StandardAddEditModal_component = normalizeComponent(
  task_StandardAddEditModalvue_type_script_lang_js_,
  StandardAddEditModalvue_type_template_id_37b6d2a2_render,
  StandardAddEditModalvue_type_template_id_37b6d2a2_staticRenderFns,
  false,
  null,
  null,
  null
  
)

/* harmony default export */ var StandardAddEditModal = (StandardAddEditModal_component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"657118bc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/components/task/EntryAddEditModal.vue?vue&type=template&id=1b8e22f3&
var EntryAddEditModalvue_type_template_id_1b8e22f3_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('a-modal',{attrs:{"title":_vm.modalTitle,"width":1000,"okText":"确认","cancelText":"取消"},on:{"ok":_vm.handleSubmit},model:{value:(_vm.modalShow),callback:function ($$v) {_vm.modalShow=$$v},expression:"modalShow"}},[_c('a-form-model',{attrs:{"model":_vm.form,"label-col":_vm.labelCol,"wrapper-col":_vm.wrapperCol}},[_c('a-row',[_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"检验值"}},[_c('a-input',{model:{value:(_vm.form.code1),callback:function ($$v) {_vm.$set(_vm.form, "code1", $$v)},expression:"form.code1"}})],1)],1),_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"检验结果"}},[_c('a-input',{model:{value:(_vm.form.code2),callback:function ($$v) {_vm.$set(_vm.form, "code2", $$v)},expression:"form.code2"}})],1)],1)],1),_c('a-row',[_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"检验记录"}},[_c('a-upload',{staticClass:"upload-list-inline",attrs:{"action":"https://www.mocky.io/v2/5cc8019d300000980a055e76","list-type":"picture","default-file-list":_vm.fileList}},[_c('a-button',[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v("上传\n                            ")],1)],1)],1)],1)],1)],1)],1)],1)}
var EntryAddEditModalvue_type_template_id_1b8e22f3_staticRenderFns = []


// CONCATENATED MODULE: ./src/views/qc/components/task/EntryAddEditModal.vue?vue&type=template&id=1b8e22f3&

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/components/task/EntryAddEditModal.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

/* harmony default export */ var EntryAddEditModalvue_type_script_lang_js_ = ({
    name: "modal",
    data() {
        return {
            modalShow: false,
            codeDisabled: false,
            modalTitle: "",
            labelCol: { span: 7 },
            wrapperCol: { span: 16 },
            form: {
                id: "",
                code1: "",
                code2: "",
                code3: "",
            },
        };
    },
    methods: {
        // 打开窗口
        openModal(data) {
            this.form = !!data ? data : {};
            this.modalTitle = "录入检验记录";
            this.codeDisabled = !!data;
            this.modalShow = true;
        },
        // 确定提交表单
        onSubmit() {
            console.log("submit!", this.form);
        },
        // 确定按钮操作
        handleSubmit() {},
    },
});

// CONCATENATED MODULE: ./src/views/qc/components/task/EntryAddEditModal.vue?vue&type=script&lang=js&
 /* harmony default export */ var task_EntryAddEditModalvue_type_script_lang_js_ = (EntryAddEditModalvue_type_script_lang_js_); 
// CONCATENATED MODULE: ./src/views/qc/components/task/EntryAddEditModal.vue





/* normalize component */

var EntryAddEditModal_component = normalizeComponent(
  task_EntryAddEditModalvue_type_script_lang_js_,
  EntryAddEditModalvue_type_template_id_1b8e22f3_render,
  EntryAddEditModalvue_type_template_id_1b8e22f3_staticRenderFns,
  false,
  null,
  null,
  null
  
)

/* harmony default export */ var EntryAddEditModal = (EntryAddEditModal_component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/TaskDetail.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//







const TaskDetailvue_type_script_lang_js_columns = [
    {
        title: "序号",
        dataIndex: "index",
        width: 90,
    },
    {
        title: "项目编码",
        dataIndex: "number",
        width: 150,
    },
    {
        title: "项目名称",
        dataIndex: "code2",
        width: 150,
    },
    {
        title: "标准值",
        dataIndex: "code3",
        width: 150,
    },
    {
        title: "最大值",
        dataIndex: "code4",
        width: 150,
    },
    {
        title: "最小值",
        dataIndex: "code5",
        width: 150,
    },
    {
        title: "单位",
        dataIndex: "code51",
        width: 150,
    },
    {
        title: "是否数值",
        dataIndex: "code6",
        width: 150,
    },
    {
        title: "检验值",
        dataIndex: "code7",
        width: 150,
    },
    {
        title: "检验结果",
        dataIndex: "code8",
        width: 150,
    },
    {
        title: "检验记录",
        dataIndex: "code9",
        width: 150,
    },
    {
        title: "状态",
        dataIndex: "code10",
        width: 150,
    },
    {
        title: "检验人",
        dataIndex: "code11",
        width: 150,
    },
    {
        title: "检验时间",
        dataIndex: "code12",
        width: 150,
    },
    {
        title: "操作",
        key: "action",
        width: 400,
        scopedSlots: { customRender: "action" },
    },
];

const TaskDetailvue_type_script_lang_js_routes = [
    {
        path: "../../main/qc-task",
        breadcrumbName: "检验任务",
    },
    {
        path: "./taskDetail",
        breadcrumbName: "",
    },
];

/* harmony default export */ var TaskDetailvue_type_script_lang_js_ = ({
    components: { MaterialQueryModal: MaterialQueryModal, StandardAddEditModal: StandardAddEditModal, EntryAddEditModal: EntryAddEditModal },
    data() {
        return {
            codeDisabled: false,
            modalTitle: "",
            labelCol: { span: 7 },
            wrapperCol: { span: 16 },
            dict: dict,
            routes: TaskDetailvue_type_script_lang_js_routes,
            form: {},
            columns: TaskDetailvue_type_script_lang_js_columns,
            list: [],
            qcStandardOptions: [],
        };
    },
    methods: {
        // 打开子窗口
        handleOpenModal(flag) {
            this.$refs[flag + "AddEditModalRef"].openModal();
        },
        // 确定提交表单
        onSubmit() {
            console.log("submit!", this.form);
        },
        // 删除行
        handleDeleteRow(record) {
            this.list = this.list.filter(item => {
                return item.detailId != record.detailId;
            });
        },
        // 后退
        handleBack() {
            this.$router.go(-1);
        },
        // 搜索
        onSearch() {
            this.$refs.materialQueryModalRef.openModal();
        },
        initStandard() {
            let self = this;
            this.$store
                .dispatch(dict.action.task.queryAction, this.queryParams)
                .then(res => {
                    if (parseInt(res.code) === 1) {
                        self.qcStandardOptions = res.data.list;
                    }
                })
                .catch(err => {
                    console.log(err);
                });
        },
        init() {
            initStandard();
        },
    },
    mounted() {
        let self = this;
        let flag = this.$route.query.flag;
        let data = this.$route.query.data;
        switch (flag) {
            case "add":
                TaskDetailvue_type_script_lang_js_routes[1].breadcrumbName = "新增检验任务";
                this.action = dict.action.task.addAction;
                break;
            case "edit":
                TaskDetailvue_type_script_lang_js_routes[1].breadcrumbName = "编辑检验任务";
                this.action = dict.action.task.editAction;
                this.form = data;
                break;
            case "detail":
                TaskDetailvue_type_script_lang_js_routes[1].breadcrumbName = "检验任务详情";
                this.action = dict.action.task.editAction;
                this.form = data;
                break;
        }
        Bus.$on("standard", function(item) {
            debugger;
            self.list.push(item);
            self.$forceUpdate();
        });
        self.init();
    },
});

// CONCATENATED MODULE: ./src/views/qc/TaskDetail.vue?vue&type=script&lang=js&
 /* harmony default export */ var qc_TaskDetailvue_type_script_lang_js_ = (TaskDetailvue_type_script_lang_js_); 
// CONCATENATED MODULE: ./src/views/qc/TaskDetail.vue





/* normalize component */

var TaskDetail_component = normalizeComponent(
  qc_TaskDetailvue_type_script_lang_js_,
  TaskDetailvue_type_template_id_3af629ea_render,
  TaskDetailvue_type_template_id_3af629ea_staticRenderFns,
  false,
  null,
  null,
  null
  
)

/* harmony default export */ var TaskDetail = (TaskDetail_component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"657118bc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/Sample.vue?vue&type=template&id=76374896&
var Samplevue_type_template_id_76374896_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"content-container"},[_c('h3',{staticClass:"main-title"},[_c('a-row',{attrs:{"align":"middle","type":"flex"}},[_c('a-col',{staticClass:"left",attrs:{"span":8}},[_vm._v("样品管理")])],1)],1),_c('div',{staticClass:"content"},[_c('div',{staticClass:"buttons"},[_c('a-row',{staticStyle:{"margin-bottom":"10px"}},[_c('a-col',{attrs:{"span":12}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleOpenModal('')}}},[_vm._v("新增")])],1),_c('a-col',{staticClass:"a-col-custom",attrs:{"span":12}},[_c('div',{staticClass:"lines-row"},[_c('a-input-search',{attrs:{"placeholder":"物料编码/物料名称/批号","enterButton":""},on:{"search":_vm.init},model:{value:(_vm.matchParam),callback:function ($$v) {_vm.matchParam=$$v},expression:"matchParam"}})],1),_c('div',{staticClass:"lines-row"},[_c('a',{staticClass:"queryText",on:{"click":_vm.advanceSearchShowClk}},[_vm._v("\n                            高级搜索\n                            "),_c('a-icon',{attrs:{"type":_vm.expand ? 'up' : 'down'}})],1)])])],1)],1),_c('div',{staticClass:"query-content",style:({ display: _vm.expand ? 'block' : 'none' })},[_c('a-form',{attrs:{"form":_vm.searchform,"hideRequiredMark":""},on:{"submit":_vm.handleSearch}},[_c('div',{staticClass:"row-container"},[_c('a-form-item',{attrs:{"label":"物料编码"}},[_c('a-input-search',{model:{value:(_vm.searchform.materialCode),callback:function ($$v) {_vm.$set(_vm.searchform, "materialCode", $$v)},expression:"searchform.materialCode"}})],1),_c('a-form-item',{attrs:{"label":"物料名称"}},[_c('a-input',{model:{value:(_vm.searchform.materialName),callback:function ($$v) {_vm.$set(_vm.searchform, "materialName", $$v)},expression:"searchform.materialName"}})],1),_c('a-form-item',{attrs:{"label":"批号"}},[_c('a-input',{model:{value:(_vm.searchform.lotNo),callback:function ($$v) {_vm.$set(_vm.searchform, "lotNo", $$v)},expression:"searchform.lotNo"}})],1),_c('a-form-item',{attrs:{"label":"样品去向"}},[_c('a-input',{model:{value:(_vm.searchform.purpose),callback:function ($$v) {_vm.$set(_vm.searchform, "purpose", $$v)},expression:"searchform.purpose"}})],1),_c('a-form-item',{attrs:{"label":"状态"}},[_c('a-input',{model:{value:(_vm.searchform.code3),callback:function ($$v) {_vm.$set(_vm.searchform, "code3", $$v)},expression:"searchform.code3"}})],1),_c('a-form-item',{attrs:{"label":"来源"}},[_c('a-input',{model:{value:(_vm.searchform.code3),callback:function ($$v) {_vm.$set(_vm.searchform, "code3", $$v)},expression:"searchform.code3"}})],1)],1),_c('a-row',{attrs:{"gutter":16}},[_c('a-col',{style:({ textAlign: 'right' }),attrs:{"span":24}},[_c('a-button',{attrs:{"type":"primary","html-type":"submit"}},[_vm._v(_vm._s(_vm.$t("common.search")))]),_c('a-button',{style:({ marginLeft: '8px' }),on:{"click":_vm.handleReset}},[_vm._v(_vm._s(_vm.$t("common.reset")))])],1)],1)],1)],1),_c('a-table',{attrs:{"columns":_vm.columns,"dataSource":_vm.list,"rowKey":function (record) { return record.id; },"loading":_vm.loading,"pagination":false},scopedSlots:_vm._u([{key:"index",fn:function(text, record, index){return [_c('span',[_vm._v(_vm._s(_vm.queryParams.pageSize * (_vm.queryParams.pageNum - 1) + index + 1))])]}},{key:"status",fn:function(text, record){return [_c('a-tag',{attrs:{"color":_vm.dict.status.sample[record.status].color}},[_vm._v(_vm._s(_vm.dict.status.sample[record.status].label))])]}},{key:"dataSource",fn:function(text, record){return [_c('a-tag',{attrs:{"color":_vm.dict.dataSourceOptions[record.dataSource].color}},[_vm._v(_vm._s(_vm.dict.dataSourceOptions[record.dataSource].label))])]}},{key:"action",fn:function(text, record){return [_c('span',[_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleOpenModal(record)}}},[_vm._v("编辑")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleConfirmRow(record)}}},[_vm._v("确认")]),_c('a-divider',{attrs:{"type":"vertical"}}),_c('a',{attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.handleDeleteRow(record)}}},[_vm._v("删除")])],1)]}}])}),_c('div',{staticStyle:{"margin-top":"10px","float":"right"}},[_c('LibsPagination',{attrs:{"pageNum":_vm.pageNum,"pageSize":_vm.pageSize,"total":_vm.total,"current":_vm.current},on:{"currentPageChange":_vm.currentPageChange,"pageSizeChange":_vm.pageSizeChange}})],1),_c('div',{staticStyle:{"clear":"both"}}),_c('add-edit-modal',{ref:"addEditModalRef"})],1)])}
var Samplevue_type_template_id_76374896_staticRenderFns = []


// CONCATENATED MODULE: ./src/views/qc/Sample.vue?vue&type=template&id=76374896&

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"657118bc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/components/sample/AddEditModal.vue?vue&type=template&id=b865d3e0&
var AddEditModalvue_type_template_id_b865d3e0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('a-modal',{attrs:{"title":_vm.modalTitle,"width":1000,"okText":"确认","cancelText":"取消"},on:{"ok":_vm.onSubmit},model:{value:(_vm.modalShow),callback:function ($$v) {_vm.modalShow=$$v},expression:"modalShow"}},[_c('a-form-model',{attrs:{"model":_vm.form,"label-col":_vm.labelCol,"wrapper-col":_vm.wrapperCol}},[_c('a-row',[_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"物料编码"}},[_c('a-col',{attrs:{"span":"20"}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.form.materialCode),callback:function ($$v) {_vm.$set(_vm.form, "materialCode", $$v)},expression:"form.materialCode"}})],1),_c('a-col',{attrs:{"span":"4"}},[_c('a-button',{attrs:{"type":"primary","block":"","icon":"search"},on:{"click":_vm.onSearch}})],1)],1)],1),_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"物料名称"}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.form.materialName),callback:function ($$v) {_vm.$set(_vm.form, "materialName", $$v)},expression:"form.materialName"}})],1)],1)],1),_c('a-row',[_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"批号"}},[_c('a-input',{attrs:{"disabled":""},model:{value:(_vm.form.lotNo),callback:function ($$v) {_vm.$set(_vm.form, "lotNo", $$v)},expression:"form.lotNo"}})],1)],1),_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"取样料量"}},[_c('a-input',{attrs:{"suffix":"kg"},model:{value:(_vm.form.quantity),callback:function ($$v) {_vm.$set(_vm.form, "quantity", $$v)},expression:"form.quantity"}})],1)],1)],1),_c('a-row',[_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"取样位置"}},[_c('a-input',{model:{value:(_vm.form.samplingSite),callback:function ($$v) {_vm.$set(_vm.form, "samplingSite", $$v)},expression:"form.samplingSite"}})],1)],1),_c('a-col',{attrs:{"span":"12"}},[_c('a-form-model-item',{attrs:{"label":"取样去向"}},[_c('a-input',{model:{value:(_vm.form.purpose),callback:function ($$v) {_vm.$set(_vm.form, "purpose", $$v)},expression:"form.purpose"}})],1)],1)],1)],1),_c('material-query-modal',{ref:"materialQueryModalRef"})],1)],1)}
var AddEditModalvue_type_template_id_b865d3e0_staticRenderFns = []


// CONCATENATED MODULE: ./src/views/qc/components/sample/AddEditModal.vue?vue&type=template&id=b865d3e0&

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/components/sample/AddEditModal.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//




/* harmony default export */ var sample_AddEditModalvue_type_script_lang_js_ = ({
    components: { MaterialQueryModal: MaterialQueryModal },
    data() {
        return {
            modalShow: false,
            codeDisabled: true,
            modalTitle: "",
            labelCol: { span: 7 },
            wrapperCol: { span: 16 },
            dict: dict,
            form: {},
        };
    },
    methods: {
        // 打开窗口
        openModal(data) {
            this.form = !!data ? data : {};
            this.modalTitle = !data ? "新增样品" : "编辑样品";
            this.modalShow = true;
        },
        // 确定提交表单
        onSubmit() {
            let self = this;
            this.$store
                .dispatch(dict.action.sample.editAction, this.form)
                .then(res => {
                    if (parseInt(res.code) === 1) {
                        self.list = res.data.list;
                    }
                })
                .catch(err => {
                    console.log(err);
                });
        },
        // 搜索
        onSearch() {
            this.$refs.materialQueryModalRef.openModal();
        },
    },
    mounted() {
        Bus.$on("material", function(item) {
            self.form = item;
            // self.$forceUpdate();
        });
    },
});

// CONCATENATED MODULE: ./src/views/qc/components/sample/AddEditModal.vue?vue&type=script&lang=js&
 /* harmony default export */ var components_sample_AddEditModalvue_type_script_lang_js_ = (sample_AddEditModalvue_type_script_lang_js_); 
// CONCATENATED MODULE: ./src/views/qc/components/sample/AddEditModal.vue





/* normalize component */

var sample_AddEditModal_component = normalizeComponent(
  components_sample_AddEditModalvue_type_script_lang_js_,
  AddEditModalvue_type_template_id_b865d3e0_render,
  AddEditModalvue_type_template_id_b865d3e0_staticRenderFns,
  false,
  null,
  null,
  null
  
)

/* harmony default export */ var sample_AddEditModal = (sample_AddEditModal_component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/qc/Sample.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//





const Samplevue_type_script_lang_js_columns = [
    {
        title: "序号",
        dataIndex: "index",
        scopedSlots: { customRender: "index" },
        width: 90,
        align: "center",
    },
    {
        title: "物料编码",
        dataIndex: "materialCode",
        width: 100,
    },
    {
        title: "物料名称",
        dataIndex: "materialName",
        width: 100,
    },
    {
        title: "批号",
        dataIndex: "lotNo",
        width: 100,
    },
    {
        title: "取样料量",
        dataIndex: "quantity",
        width: 100,
    },
    {
        title: "取样位置",
        dataIndex: "samplingSite",
        width: 100,
    },
    {
        title: "样品去向",
        dataIndex: "purpose",
        width: 100,
    },
    {
        title: "状态",
        dataIndex: "status",
        scopedSlots: { customRender: "status" },
        width: 100,
    },
    {
        title: "来源",
        dataIndex: "dataSource",
        scopedSlots: { customRender: "dataSource" },
        width: 100,
    },
    {
        title: "操作",
        key: "action",
        fixed: "right",
        width: 200,
        scopedSlots: { customRender: "action" },
    },
];
/* harmony default export */ var Samplevue_type_script_lang_js_ = ({
    components: { AddEditModal: sample_AddEditModal },
    data() {
        return {
            labelCol: { span: 9 },
            wrapperCol: { span: 15 },
            dict: dict,
            expand: false,
            columns: Samplevue_type_script_lang_js_columns,
            list: [],
            matchParam: "",
            loading: false,
            searchform: {},
            queryParams: {
                data: {},
                pageNum: parseInt(external_libs_common_basics_default.a.LibsPagination.props.pageNum.default),
                pageSize: parseInt(external_libs_common_basics_default.a.LibsPagination.props.pageSize.default),
            },
        };
    },
    methods: {
        //高级搜索开关
        advanceSearchShowClk() {
            this.expand = !this.expand;
        },
        // 打开模态框
        handleOpenModal(data) {
            this.$refs.addEditModalRef.openModal(data);
        },
        //简单查询
        handleSimpleSearch() {
            this.queryParams.data = {};
            if (this.searchForm.name != "") this.queryParams.data = { matchParam: this.searchForm.name };
            this.queryParams.pageNum = this.pagination.current;
            this.loading = true;
            this.init();
        },
        //高级查询
        handleSearch(e) {
            e.preventDefault();
            //简单搜索执行回车操作
            if (!this.expand) {
                this.handleSimpleSearch();
                return;
            }
            this.form.validateFields((error, values) => {
                this.searchForm = values;
                console.log(this.searchForm);
                this.queryParams.data = this.searchForm;
                this.queryParams.pageNum = this.pagination.current;
                this.loading = true;
                this.$store.dispatch("Widget/getWidgetList", this.queryParams);
            });
        },
        //重置查询表单
        handleReset() {
            // this.searchform.resetFields();
            this.searchform = {};
        },
        // 确认
        handleConfirmRow(record) {
            let self = this;
            this.$confirm({
                title: "确认",
                content: "确定?",
                okText: "确定",
                cancelText: "取消",
                onOk() {
                    debugger;
                    let param = {
                        id: record.id,
                        purpose: record.purpose,
                        quantity: record.quantity,
                    };
                    self.$store
                        .dispatch(dict.action.sample.confirmAction, param)
                        .then(res => {
                            if (parseInt(res.code) === 1) {
                                self.$message.success("成功");
                                self.init();
                            }
                        })
                        .catch(err => {
                            self.$message.error("失败" + res.msg + "(" + res.code + ")");
                        });
                },
                onCancel() {
                    console.log("Cancel");
                },
            });
        },
        // 删除当前行数据
        handleDeleteRow(rowData) {
            let self = this;
            this.$confirm({
                title: "确认",
                content: "确定?",
                okText: "确定",
                cancelText: "取消",
                onOk() {
                    let params = { ids: [rowData.id] };
                    this.$store
                        .dispatch(dict.action.sample.deleteAction, params)
                        .then(res => {
                            if (parseInt(res.code) === 1) {
                                this.$message.success("成功");
                                this.init();
                            }
                        })
                        .catch(err => {
                            this.$message.error("失败" + res.msg + "(" + res.code + ")");
                        });
                },
            });
        },
        init() {
            let self = this;
            this.$store
                .dispatch(dict.action.sample.queryAction, this.queryParams)
                .then(res => {
                    if (parseInt(res.code) === 1) {
                        self.list = res.data.list;
                    }
                })
                .catch(err => {
                    console.log(err);
                });
        },
    },
    mounted() {
        this.init();
    },
});

// CONCATENATED MODULE: ./src/views/qc/Sample.vue?vue&type=script&lang=js&
 /* harmony default export */ var qc_Samplevue_type_script_lang_js_ = (Samplevue_type_script_lang_js_); 
// CONCATENATED MODULE: ./src/views/qc/Sample.vue





/* normalize component */

var Sample_component = normalizeComponent(
  qc_Samplevue_type_script_lang_js_,
  Samplevue_type_template_id_76374896_render,
  Samplevue_type_template_id_76374896_staticRenderFns,
  false,
  null,
  null,
  null
  
)

/* harmony default export */ var Sample = (Sample_component.exports);
// EXTERNAL MODULE: external "whatwg-fetch"
var external_whatwg_fetch_ = __webpack_require__("204b");

// EXTERNAL MODULE: external "js-cookie"
var external_js_cookie_ = __webpack_require__("be65");
var external_js_cookie_default = /*#__PURE__*/__webpack_require__.n(external_js_cookie_);

// CONCATENATED MODULE: ./src/config/index.js
/* harmony default export */ var config = ({
    /**
     * @description token在Cookie中存储的天数，默认1天
     */
    cookieExpires: 1,
    /**
     * @description 是否使用国际化，默认为false
     *              如果不使用，则需要在路由中给需要在菜单中展示的路由设置meta: {title: 'xxx'}
     *              用来在菜单中显示文字
     */
    useI18n: false,
    pageIndex: 1,
    pageSize: 10,
});

// CONCATENATED MODULE: ./src/utils/login.js

// cookie保存的天数


const TOKEN_KEY = "token";
const USER_INFO = "userInfo";

const setToken = token => {
    external_js_cookie_default.a.set(TOKEN_KEY, token, { expires: config.cookieExpires || 1 });
};

const getToken = () => {
    const token = external_js_cookie_default.a.get(TOKEN_KEY);
    if (token) return token;
    else return false;
};

const setUserInfo = userInfo => {
    external_js_cookie_default.a.set(USER_INFO, userInfo, { expires: config.cookieExpires || 1 });
};

const getUserInfo = () => {
    const userInfo = external_js_cookie_default.a.get(USER_INFO);
    if (userInfo) {
        return JSON.parse(userInfo);
    } else {
        return false;
    }
};

const removeUserInfo = () => {
    external_js_cookie_default.a.remove(TOKEN_KEY);
    external_js_cookie_default.a.remove(USER_INFO);
};

/* harmony default export */ var login = ({
    TOKEN_KEY,
    USER_INFO,
    setToken,
    getToken,
    setUserInfo,
    getUserInfo,
    removeUserInfo,
});

// EXTERNAL MODULE: external "ant-design-vue"
var external_ant_design_vue_ = __webpack_require__("4e72");

// CONCATENATED MODULE: ./src/utils/fetch.js




//let vm = new Vue();

// 处理promise和fetch的兼容性以及引入
//require("es6-promise").polyfill();
__webpack_require__("5bed");
let modalDestoryed = true;

// 处理get请求，传入参数对象拼接
let formatUrl = obj => {
    let params = Object.values(obj).reduce((a, b, i) => `${a}${Object.keys(obj)[i]}=${encodeURI(b)}&`, "?");
    return params.substring(0, params.length - 1);
};

let Fetch = (url, option = {}) => {
    option.headers = option.headers || {};
    const token = getToken();
    if (token != null && token != undefined && token != "" && token != "undefined") {
        option.headers["Authorization"] = token;
    }
    const m = (option.method || "").toLocaleLowerCase();
    // get query format
    if (m == "get") {
        if (option.query) {
            url = url + formatUrl(option.query);
        }
    }
    // 对非get类请求头和请求体做处理
    if (m === "post" || m === "put" || m === "delete") {
        option.headers["Content-Type"] = "application/json";
        // formData上传文件时，不能有headers，这样fetch会自动添加正确的content-type;body不能JSON.stringify
        let isFormData = option.headers["formData"];
        if (isFormData) {
            delete option.headers["Content-Type"];
            delete option.headers["formData"];
        }

        if (isFormData) {
            //option.body = option.body;
        } else if (option.body instanceof Array || option.body instanceof Object) {
            option.body = JSON.stringify(option.body);
        } else {
            option.body = '"' + option.body + '"';
        }
        // option.body = qs.stringify(option.body) //根据后台要求，如果有时候是java请求会用qs转
    }
    return new Promise(resolve => {
        function handleResponse(response) {
            let contentType = response.headers.get("content-type");
            if (contentType.includes("application/json")) {
                return handleJSONResponse(response);
            } else if (contentType.includes("text/html") || contentType.includes("text/plain;charset=UTF-8")) {
                return handleTextResponse(response);
            } else if (contentType.includes("application/octet-stream;charset=UTF-8")) {
                return handleBlobResponse(response);
            } else {
                throw new Error(`Sorry, content-type ${contentType} not supported`);
            }
        }

        function handleJSONResponse(response) {
            return response.json().then(json => {
                if (response.ok) {
                    if (parseInt(json.code) && (parseInt(json.code) <= 1000 || parseInt(json.code) == 1100) && parseInt(json.code) != 1) {
                        return Promise.reject(
                            Object.assign({}, json, {
                                status: parseInt(json.code),
                                statusText: json.message,
                            }),
                        );
                    } else if (json.code && json.code == 10020005) {
                        if (modalDestoryed) {
                            let modal = external_ant_design_vue_["Modal"].info();
                            modalDestoryed = false;
                            modal.update({
                                title: "token已过期，请点击确定按钮重新登录",
                                okText: "确定",
                                onOk: () => {
                                    //router.push({ name: "login" });
                                    removeUserInfo();
                                    modal.destroy();
                                    modalDestoryed = true;
                                },
                            });
                        }
                    } else {
                        return json;
                    }
                } else {
                    return Promise.reject(
                        Object.assign({}, json, {
                            status: response.status,
                            statusText: response.statusText,
                        }),
                    );
                }
            });
        }
        function handleTextResponse(response) {
            return response.text().then(text => {
                if (response.ok) {
                    return text;
                } else {
                    return Promise.reject({
                        status: response.status,
                        statusText: response.statusText,
                        err: text,
                    });
                }
            });
        }
        function handleBlobResponse(response) {
            return response.blob().then(blob => {
                if (response.ok) {
                    return blob;
                } else {
                    return Promise.reject({
                        status: response.status,
                        statusText: response.statusText,
                        err: blob,
                    });
                }
            });
        }
        fetch(url, option)
            .then(handleResponse)
            .then(response => {
                //console.log("请求跟踪:");
                //console.log(response);
                if (response.status === 500) {
                    //CookiesCookies.set("token", "");
                }
                // response.status = status;
                // if (response.code >'200') {
                //   console.log('400')
                // if (response.state == 8888) {
                //   // 登陆超时返回状态吗
                //   Fetch.overTime && Fetch.overTime(response)
                // }
                // if (response.state == 6666) {
                //   // 没有权限返回状态码
                // }
                // }
                resolve(response);
            })
            .catch(error => {
                console.log(error);
                if (error.status == undefined) error.status = 404;
                if (!error.statusText) error.statusText = error.message;
                if (error.status <= 1000) {
                    error.statusText = "服务器请求错误，请稍后再试或者咨询管理员";
                    if (error.status == 404) error.statusText = "服务器无法连接或者您请求的页面地址不对";
                    if (error.status == 500) error.statusText = "服务器处理发生错误，请咨询管理员";
                }
                // AsConfirm.error({
                //   height: 100,
                //   title: "请求响应异常",
                //   body: error.statusText + "（" + error.status + "）",
                //   onOk: function() {
                //     if (
                //       error.status == 1100 || //用户未登录或者登录已经过期
                //       error.status == 404 || //服务器无法连接
                //       error.status == 500 //服务器抛出异常
                //     ) {
                //       if (vm.$editDialog && vm.$editDialog.instance) {
                //         vm.$editDialog.instance.$destroy();
                //         vm.$editDialog.instance.$el.remove();
                //       }
                //       loginOut();
                //     }
                //   }
                // });
                // router.push({
                //     name: "login",
                // });
                resolve({
                    code: error.status,
                    message: error.statusText,
                });
            });
    });
};

/* harmony default export */ var utils_fetch = (Fetch);

// CONCATENATED MODULE: ./src/api/common.js
// 公共配置
/* eslint-disable */
const ADRRESS = IP_CONFIG;
const AM = ADRRESS + "/am";
const SC = ADRRESS + "/sc";
const BD = ADRRESS + "/bd";
//const DFS = ADRRESS + "/dfs";
const PM = ADRRESS + "/pm";
const FC = ADRRESS + "/fc";
// 质量管理
const QM = ADRRESS + "/qm";

/* harmony default export */ var common = ({
    AM,
    SC,
    BD,
    //DFS,
    PM,
    FC,
    QM
});

// CONCATENATED MODULE: ./src/api/quality.js

const API_URL = common.QM;
// 质量管理接口集

// 检验项目
const API_PROJECT_QUERY = API_URL + "/v1/inspectItem/pageQuery"; // 检验项目查询
const API_PROJECT_ADD = API_URL + "/v1/inspectItem/save"; // 新增检验项目
const API_PROJECT_EDIT = API_URL + "/v1/inspectItem/update"; // 修改检验项目
const API_PROJECT_DELETE = API_URL + "/v1/inspectItem/delete"; // 删除检验项目

// 检验标准
const API_STANDARD_QUERY = API_URL + "/v1/inspectStandard/pageQuery"; // 检验标准查询
const API_STANDARD_ADD = API_URL + "/v1/inspectStandard/save"; // 检验标准
const API_STANDARD_EDIT = API_URL + "/v1/inspectStandard/update"; // 修改检验标准
const API_STANDARD_DELETE = API_URL + "/v1/inspectStandard/delete"; // 删除检验标准

// 样品管理
const API_SAMPLE_QUERY = API_URL + "/v1/samplingRecord/pageQuery"; // 查询list
const API_SAMPLE_ADD = API_URL + "/v1/samplingRecord/save"; // 新增
const API_SAMPLE_EDIT = API_URL + "/v1/samplingRecord/update"; // 修改
const API_SAMPLE_CONFIRM = API_URL + "/v1/samplingRecord/confirm"; // 确认
const API_SAMPLE_DELETE = API_URL + "/v1/samplingRecord/delete"; // 删除

// 检验任务
const API_TASK_QUERY = API_URL + "/v1/inspectTask/pageQuery"; // 查询list
const API_TASK_ADD = API_URL + "/v1/inspectTask/save"; // 新增
const API_TASK_EDIT = API_URL + "/v1/inspectTask/updateTask"; // 修改
const API_TASK_CONFIRM = API_URL + "/v1/samplingRecord/confirmTask"; // 确认
const API_TASK_DELETE = API_URL + "/v1/inspectTask/delete"; // 删除
const API_TASK_SUBMIT = API_URL + "/v1/inspectTask/submit"; // 提交
// const API_TASK_SUBMIT = API_URL + "/v1/inspectTask/submit"; // 提交


/* harmony default export */ var quality = ({
    API_PROJECT_QUERY,
    API_PROJECT_ADD,
    API_PROJECT_EDIT,
    API_PROJECT_DELETE,

    API_STANDARD_QUERY,
    API_STANDARD_ADD,
    API_STANDARD_EDIT,
    API_STANDARD_DELETE,

    API_SAMPLE_QUERY,
    API_SAMPLE_ADD,
    API_SAMPLE_EDIT,
    API_SAMPLE_CONFIRM,
    API_SAMPLE_DELETE,

    API_TASK_QUERY,
    API_TASK_ADD,
    API_TASK_EDIT,
    API_TASK_CONFIRM,
    API_TASK_DELETE,
    API_TASK_SUBMIT
});
// CONCATENATED MODULE: ./src/store/modules/qc/Project.js





const state = {
    // 到货通知高级搜索初始状态
    queryAdvanceSearchVisible: false,
    // 到货通知增加通知modal
    modalVisible: false,
    // 列表数据
    dataSource: [],
    // 列表项
    columns: [],
    // 列表数据加载状态
    loading: false,
    // 所选中的行
    selectedRowKeys: [],
    // 高级搜索数据
    formData: {},
    // // 到货报备弹框状态管理
    // reportModalStatus: false,
    // // 添加物料详情弹框状态管理
    addMaterialDetailsVis: false,
    // 分页
    pager: {
        pageNum: external_libs_common_basics_default.a.LibsPagination.props.pageNum.default,
        pageSize: external_libs_common_basics_default.a.LibsPagination.props.pageSize.default,
        total: external_libs_common_basics_default.a.LibsPagination.props.total.default,
        current: external_libs_common_basics_default.a.LibsPagination.props.current.default,
    },
};

const mutations = {
    // 高级搜索状态改变
    queryModule(state, params) {
        state.queryAdvanceSearchVisible = params;
    },
    // 到货通知modal状态
    modalModule(state, params) {
        state.modalVisible = params;
    },
    // // 到货报备弹框状态
    // reportModal(state, params) {
    //     state.reportModalStatus = params;
    // },
    // // 添加物料详情弹框状态
    addMaterialDetails(state, params) {
        state.addMaterialDetailsVis = params;
    },
    // 获取dataSource
    getDataSource(state, res) {
        state.dataSource = res.list;
        state.columns = res.fields;
    },
};

const actions = {
    // 新增
    addProjectRequest({
        commit
    }, params) {
        let url = quality.API_PROJECT_ADD;
        state.loading = true;
        return new Promise(resolve => {
            utils_fetch(url, {
                method: "POST",
                body: params,
            }).then(res => {
                state.loading = false;
                resolve(res);
            });
        });
    },
    // 更新
    editProjectRequest({
        commit
    }, params) {
        let url = quality.API_PROJECT_ADD;
        state.loading = true;
        return new Promise(resolve => {
            utils_fetch(url, {
                method: "POST",
                body: params,
            }).then(res => {
                state.loading = false;
                resolve(res);
            });
        });
    },
    // 查询，参数为搜索字段
    pageQueryRequest({
        commit
    }, params) {
        let url = quality.API_PROJECT_QUERY;
        state.loading = true;
        console.log('params', params)
        return new Promise(resolve => {
            utils_fetch(url, {
                method: "POST",
                body: params,
            }).then(res => {
                if (parseInt(res.code) == 1) {
                    state.pager.pageNum = parseInt(res.data.current);
                    state.pager.pageSize = parseInt(res.data.size);
                    state.pager.total = parseInt(res.data.total);
                    state.pager.current = parseInt(res.data.current);
                    commit("getDataSource", res.data);
                } else {
                    res.msg && external_vue_default.a.prototype.$message.error(res.msg);
                }
                state.loading = false;
                resolve(res);
            });
        });
    },
    // 删除
    deleteProjectRequest({
        commit
    }, params) {
        let url = quality.API_PROJECT_DELETE;
        return new Promise(resolve => {
            utils_fetch(url, {
                method: "post",
                body: params,
            }).then(res => {
                resolve(res);
                console.log(res);
            });
        });
    },
};

const getters = {};

/* harmony default export */ var qc_Project = ({
    namespaced: true,
    state,
    getters,
    mutations,
    actions,
});
// CONCATENATED MODULE: ./src/store/modules/qc/Standard.js





const Standard_state = {
    // 到货通知高级搜索初始状态
    queryAdvanceSearchVisible: false,
    // 到货通知增加通知modal
    modalVisible: false,
    // 列表数据
    dataSource: [],
    // 列表项
    columns: [],
    // 列表数据加载状态
    loading: false,
    // 所选中的行
    selectedRowKeys: [],
    // 高级搜索数据
    formData: {},
    // // 到货报备弹框状态管理
    // reportModalStatus: false,
    // // 添加物料详情弹框状态管理
    addMaterialDetailsVis: false,
    // 分页
    pager: {
        pageNum: external_libs_common_basics_default.a.LibsPagination.props.pageNum.default,
        pageSize: external_libs_common_basics_default.a.LibsPagination.props.pageSize.default,
        total: external_libs_common_basics_default.a.LibsPagination.props.total.default,
        current: external_libs_common_basics_default.a.LibsPagination.props.current.default,
    },
};

const Standard_mutations = {
    // 高级搜索状态改变
    queryModule(state, params) {
        state.queryAdvanceSearchVisible = params;
    },
    // 到货通知modal状态
    modalModule(state, params) {
        state.modalVisible = params;
    },
    // // 到货报备弹框状态
    // reportModal(state, params) {
    //     state.reportModalStatus = params;
    // },
    // // 添加物料详情弹框状态
    addMaterialDetails(state, params) {
        state.addMaterialDetailsVis = params;
    },
    // 获取dataSource
    getDataSource(state, res) {
        state.dataSource = res.list;
        state.columns = res.fields;
    },
};

const Standard_actions = {
    // 新增
    addStandardRequest({
        commit
    }, params) {
        let url = quality.API_STANDARD_ADD;
        Standard_state.loading = true;
        return new Promise(resolve => {
            utils_fetch(url, {
                method: "POST",
                body: params,
            }).then(res => {
                Standard_state.loading = false;
                resolve(res);
            });
        });
    },
    // 更新
    editStandardRequest({
        commit
    }, params) {
        let url = quality.API_STANDARD_EDIT;
        Standard_state.loading = true;
        return new Promise(resolve => {
            utils_fetch(url, {
                method: "POST",
                body: params,
            }).then(res => {
                Standard_state.loading = false;
                resolve(res);
            });
        });
    },
    // 查询，参数为搜索字段
    pageQueryRequest({
        commit
    }, params) {
        let url = quality.API_STANDARD_QUERY;
        Standard_state.loading = true;
        console.log('params', params)
        return new Promise(resolve => {
            utils_fetch(url, {
                method: "POST",
                body: params,
            }).then(res => {
                if (parseInt(res.code) == 1) {
                    Standard_state.pager.pageNum = parseInt(res.data.current);
                    Standard_state.pager.pageSize = parseInt(res.data.size);
                    Standard_state.pager.total = parseInt(res.data.total);
                    Standard_state.pager.current = parseInt(res.data.current);
                    commit("getDataSource", res.data);
                } else {
                    res.msg && external_vue_default.a.prototype.$message.error(res.msg);
                }
                Standard_state.loading = false;
                resolve(res);
            });
        });
    },
    // 删除
    deleteStandardRequest({
        commit
    }, params) {
        let url = quality.API_STANDARD_DELETE;
        return new Promise(resolve => {
            utils_fetch(url, {
                method: "post",
                body: params,
            }).then(res => {
                resolve(res);
                console.log(res);
            });
        });
    },
};

const Standard_getters = {};

/* harmony default export */ var qc_Standard = ({
    namespaced: true,
    state: Standard_state,
    getters: Standard_getters,
    mutations: Standard_mutations,
    actions: Standard_actions,
});
// CONCATENATED MODULE: ./packages/index.js











const install = Vue => {
    if (install.installed) return;
    install.installed = true;
    Vue.component("LibsQCItem", Project);
    Vue.component("LibsQCStandard", Standard);
    Vue.component("LibsQCStandardDetail", StandardDetail);
    Vue.component("LibsQCTask", Task);
    Vue.component("LibsQCTaskDetail", TaskDetail);
    Vue.component("LibsQCSampleLibrary", Sample);
};

if (typeof window !== "undefined" && window.Vue) {
    install(window.Vue);
}

/* harmony default export */ var packages_0 = ({
    install,
    LibsQCItem: Project,
    LibsQCStandard: Standard,
    LibsQCStandardDetail: StandardDetail,
    LibsQCTask: Task,
    LibsQCTaskDetail: TaskDetail,
    LibsQCSampleLibrary: Sample,

    QCItem: qc_Project,
    QCStandard: qc_Standard
});
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js


/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (packages_0);



/***/ })

/******/ });
});